BART:
- Weekdays: The last train departs from each station between 12:00 AM and 12:30 AM, depending on the station.
- Saturdays: The last train departs from each station between 1:00 AM and 1:30 AM, depending on the station.
- Sundays: The last train departs from each station between 11:00 PM and 12:00 AM, depending on the station.
Muni Metro:
- The Muni Metro system operates 24 hours a day, 7 days a week. However, there are different schedules for weekdays, Saturdays, and Sundays. The last trains for each line usually depart between 1:30 AM and 2:30 AM.
Please note that these schedules are subject to change, especially during special events or emergencies, so it's always best to check the latest schedules provided by the San Francisco Municipal Transportation Agency (SFMTA).