There are 4 ways to get from York to Ocean City by bus (Greyhound, Flixbus), train (Amtrak), car, or bus (Greyhound)
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Bus via Philadelphia
best- Take the bus from York Bus Stop to Baltimore Downtown Bus Stationbus
- Take the bus from Baltimore Downtown Bus Station to Philadelphia Bus Stationbus
- Take the bus from Market St At 11Th St to Arrival Area Inside Ac Bus Terminalbus 551
6h 53m$32–78Drive 141.5 mi
cheapest- Drive from York to Ocean Citycar 141.5 mi
3h 21m$26–38Train
- Take the train from Harrisburg to 30th Street Stationtrain Keystone Service / ...
- Take the train from 30th Street Station to Atlantic City Rail Terminaltrain Atlc
7h 13m$38–111Bus (Greyhound)
- Take the bus from York Bus Stop to Baltimore Downtown Bus Stationbus Greyhound US0430
- Take the bus from Baltimore Downtown Bus Station to Atlantic Citybus Greyhound US0320
6h 55m$34–73
York to Ocean City by bus
Questions & Answers
The cheapest way to get from York to Ocean City is to drive which costs $25 - $40 and takes 3h 21m.
The fastest way to get from York to Ocean City is to drive which takes 3h 21m and costs $25 - $40.
No, there is no direct bus from York to Ocean City. However, there are services departing from York Bus Stop and arriving at Atlantic Ave At Moorlyn Terrace via Baltimore Downtown Bus Station, Market St At 11Th St and On Atlantic Ave At Ohio Ave. The journey, including transfers, takes approximately 6h 53m.
No, there is no direct train from York to Ocean City. However, there are services departing from Harrisburg and arriving at Atlantic City Rail Terminal via 30th Street Station. The journey, including transfers, takes approximately 7h 13m.
The distance between York and Ocean City is 234 miles. The road distance is 142.3 miles.
The best way to get from York to Ocean City without a car is to bus via Philadelphia which takes 6h 53m and costs $30 - $80.
It takes approximately 6h 53m to get from York to Ocean City, including transfers.
York to Ocean City bus services, operated by Greyhound USA, depart from York Bus Stop station.
York to Ocean City train services, operated by Amtrak, depart from Harrisburg station.
The best way to get from York to Ocean City is to bus via Philadelphia which takes 6h 53m and costs $30 - $80. Alternatively, you can train, which costs $35 - $120 and takes 7h 13m.
What companies run services between York, PA, USA and Ocean City, NJ, USA?
You can take a bus from York Bus Stop to Atlantic Ave At Moorlyn Terrace via Baltimore Downtown Bus Station, Philadelphia Bus Station, Market St At 11Th St, Arrival Area Inside Ac Bus Terminal, and On Atlantic Ave At Ohio Ave in around 6h 53m. Alternatively, you can take a bus from York Bus Stop to Ocean City Transportation Center via Harrisburg Bus Station, Harrisburg, 30th Street Station, Atlantic City Rail Terminal, and On Atlantic Ave At Ohio Ave in around 7h 13m.
Rome2Rio's guide to Amtrak
Contact DetailsContact Details
- Phone
- +1 800-872-7245
- Website
- Amtrak
Train from Harrisburg to 30th Street Station
- Ave. Duration
- 1h 44m
- Frequency
- Every 2 hours
- Estimated price
- $30–70
- Website
- Amtrak
- Phone
- +1 973-275-5555
- Website
- New Jersey Transit
Train from 30th Street Station to Atlantic City Rail Terminal
- Ave. Duration
- 1h 35m
- Frequency
- Every 2 hours
- Estimated price
- $2–25
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adult
- $2–25
Rome2Rio's guide to Greyhound USA
Contact DetailsContact Details
- Phone
- +1 214-849-8100
- [email protected]
- Website
- Greyhound
Bus from York Bus Stop to Baltimore Downtown Bus Station
- Ave. Duration
- 1h 10m
- Frequency
- Twice daily
- Estimated price
- $8–16
- Website
- Greyhound
Bus from Baltimore Downtown Bus Station to Philadelphia Bus Station
- Ave. Duration
- 1h 55m
- Frequency
- Every 3 hours
- Estimated price
- $15–29
- Website
- Greyhound
Bus from York Bus Stop to Baltimore Downtown Bus Station
- Ave. Duration
- 1h 10m
- Frequency
- Twice daily
- Estimated price
- $8–16
- Website
- Greyhound
Bus from Baltimore Downtown Bus Station to Atlantic City
- Ave. Duration
- 3h 35m
- Frequency
- Twice daily
- Estimated price
- $24–50
- Website
- Greyhound
- Phone
- +1 (855) 626-8585
- Website
- Flixbus USA
Bus from Baltimore Downtown Bus Station to Philadelphia Bus Station
- Ave. Duration
- 2h
- Frequency
- Every 3 hours
- Estimated price
- $15–27
- Schedules at
- Flixbus USA
- Phone
- +1 973-275-5555
- Website
- New Jersey Transit
Bus from Market St At 11Th St to Arrival Area Inside Ac Bus Terminal
- Ave. Duration
- 1h 35m
- Frequency
- Every 30 minutes
- Estimated price
- $7–25
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adults
- $7–25
Want to know more about travelling around United States
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
Travelling to the US: What do I need to know?
Read the travel guide
Need to know: Greyhound
Read the travel guide
Why you should take the train in the US
Read the travel guide
More Questions & Answers
York to Ocean City bus services, operated by Greyhound USA, arrive at Baltimore Downtown Bus Station.
York to Ocean City train services, operated by Amtrak, arrive at 30th Street Station.
Yes, the driving distance between York to Ocean City is 142 miles. It takes approximately 3h 21m to drive from York to Ocean City.
There are 475+ hotels available in Ocean City.











