It is next to the Pacific Ocean and the states of Nayarit , Zacatecas , Aguascalientes , San Luis Potosi , Guanajuato , and Michoacan . It is bordered by the states of Nayarit to the northwest , Zacatecas , Aguascalientes and San Luis PotosÃ to the north , Guanajuato to the east and Colima and MichoacÃ n to the south .