Tokyo subway trains usually end at about midnight. It varies depending on the line and the station and might also be different on weekdays and weekends.