From Washington Union Station Amtrak train to Baltimore then Amtrak Thruway to Ocean City, MD. 4 h 36 min. From UNION STATION MARC Washington train to BWI Marshall Airport Amtrak then shuttle to Ocean City, MD. 4 h 50 min $111. From Washington drive to Ocean City. 2 h 57 min $16.