# Moonrise and moonset

Moonrise and moonset are times when the upper limb of the Moon appears above the horizon and disappears below it, respectively. The exact times depend on the lunar phase and declination, as well as the observer's location. As viewed from outside the polar circles, the Moon, like all other celestial objects outside the circumpolar circle, rises from the eastern half of the horizon and sets into the western half due to Earth's rotation.

## Direction and time
### Direction

Since Earth rotates eastward, all celestial objects outside the circumpolar circle (including the Sun, Moon, and stars) rise in the east and set in the west for observers outside the polar circles. Seasonal variation means that they sometimes rise in the east-northeast or east-southeast, and sometimes set in the west-southwest or west-northwest. This north-south variation of the point along the horizon is bookended by two lunar standstills or turnarounds, the directions of which are sometimes depicted in archaeoastronomical constructions. It takes 18.6 years for the Moon to traverse this variation viewed from a vantage point on Earth.

### Time

The Moon's position relative to Earth and the Sun determines the moonrise and moonset time. For example, a last quarter rises at midnight and sets at noon. A waning gibbous is best seen from late night to early morning. The Moon rises 30 to 70 minutes (should be a fixed number, about 50 minutes, if it's the same 13 degrees) later each day/night than the day/night before, due to the fact that the Moon moves 13 degrees every day. Hence, the Earth must move 13 degrees after completing one rotation for the Moon to be visible.
Moonrise/moonset for different moon phases :
| Lunar phase (illustration as seen from northern hemisphere) | Moonrise | Culmination time (highest point) | Moonset | Best seen |
| New moon | 6 AM | Noon | 6 PM | Not visible unless there is a solar eclipse |
| Waxing crescent | 9 AM | Afternoon | 9 PM | Late morning to early evening |
| First quarter | 12 PM | Sunset | 12 AM | Early evening to late night |
| Waxing gibbous | 3 PM | Late evening | 3 AM | Early evening and most of night |
| Full moon | 6 PM | Midnight | 6 AM | Sunset to sunrise (all night), a lunar eclipse is then possible |
| Waning gibbous | 9 PM | Predawn | 9 AM | Most of night and early morning |
| Last quarter | 12 AM | Sunrise | 12 PM | Predawn to post-sunrise |
| Waning crescent | 3 AM | Late morning | 3 PM | Predawn to afternoon |

## Visual appearance

The Moon appears to be larger at moonrise or moonset due to an illusion. This illusion, known as the Moon illusion, is caused by an effect of the brain. There is no definitive explanation for the Moon illusion. However, it is most likely because of how the brain perceives objects at different distances, and/or the distance we expect objects to be from us when they are near the horizon.
The Moon appears to be more yellowish near the horizon. This is for the same reason the Sun and/or sky appears to be orangey-red at sunrise/sunset. When the Moon appears near the horizon, the light coming from it has to pass through more layers of atmosphere. This scatters the blue away, and leaves yellow, orange, and red. This is also the reason the Moon appears red during a deep partial or total lunar eclipse.