There are 9 ways to get from Ocean City to Cape Cod by bus, train, train (Amtrak), car, plane, 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, train
best- Take the bus from Ocean City Transportation Center to Port Authority Bus Terminalbus 319
- Take the train from Ny Moynihan Train Hall At Penn Station to Bostontrain
- Take the bus from Boston South Buses to Hyannis Transportation Centerbus
11h 32m$113–249Drive 369.3 mi
cheapest- Drive from Ocean City to Cape Codcar 369.3 mi
7h 25m$68–98Train
- Take the train from Atlantic City Rail Terminal to 30th Street Stationtrain
- Take the train from 30th Street Station to Bostontrain
- Take the train from South Station to Hyannistrain
13h 56m$114–281Bus to John F. Kennedy International Airport, fly to Barnstable Municipal Airport
- Take the bus from Ocean City Transportation Center to Port Authority Bus Terminalbus
- Fly from John F. Kennedy International Airport (JFK) to Barnstable Municipal Airport (HYA)plane JFK - HYA
10h 36m$376–884Bus via Boston
- Take the bus from Ocean City Transportation Center to Port Authority Bus Terminalbus 319
- Take the bus from New York to Bostonbus
- Take the bus from Boston South Buses to Hyannis Transportation Centerbus
12h 19m$88–194Bus
- Take the bus from Atlantic City to Port Authority Bus Terminalbus
- Take the bus from New York to Providencebus
- Take the bus from Providence to Hyannisbus
13h 56m$78–168Bus to John F. Kennedy International Airport, fly to Boston Logan Airport, bus
- Take the bus from Ocean City Transportation Center to Port Authority Bus Terminalbus
- Fly from John F. Kennedy International Airport (JFK) to Boston Logan Airport (BOS)plane JFK - BOS
- Take the bus from Logan International Airport to Hyannis Transportation Centerbus
10h 18m$263–1,223Train to Philadelphia International Airport, fly to Barnstable Municipal Airport
- Take the train from Atlantic City Rail Terminal to 30th Street Stationtrain
- Fly from Philadelphia International Airport (PHL) to Barnstable Municipal Airport (HYA)plane PHL - HYA
10h 23m$88–585Train to Philadelphia International Airport, fly to Boston Logan Airport, bus
- Take the train from Atlantic City Rail Terminal to 30th Street Stationtrain
- Fly from Philadelphia International Airport (PHL) to Boston Logan Airport (BOS)plane PHL - BOS
- Take the bus from Logan International Airport to Hyannis Transportation Centerbus
10h 10m$205–974
Ocean City to Cape Cod by bus, foot, and train
Questions & Answers
The cheapest way to get from Ocean City to Cape Cod is to drive which costs $65 - $100 and takes 7h 25m.
The fastest way to get from Ocean City to Cape Cod is to drive which takes 7h 25m and costs $65 - $100.
No, there is no direct bus from Ocean City to Cape Cod. However, there are services departing from Ocean City Transportation Center and arriving at Town Hall Lawton Bus Shelter via New York, Boston South Buses and Hyannis Transportation Center. The journey, including transfers, takes approximately 12h 19m.
No, there is no direct train from Ocean City to Cape Cod. However, there are services departing from Atlantic City Rail Terminal and arriving at Hyannis via 30th Street Station and South Station. The journey, including transfers, takes approximately 13h 56m.
The distance between Ocean City and Cape Cod is 491 miles. The road distance is 371.5 miles.
The best way to get from Ocean City to Cape Cod without a car is to bus and train which takes 11h 32m and costs $110 - $250.
It takes approximately 11h 32m to get from Ocean City to Cape Cod, including transfers.
Ocean City to Cape Cod bus services, operated by NJ Transit, depart from Ocean City Transportation Center station.
Ocean City to Cape Cod train services, operated by NJ Transit, depart from Atlantic City Rail Terminal station.
The best way to get from Ocean City to Cape Cod is to train which takes 13h 56m and costs $110 - $290. Alternatively, you can bus via Boston, which costs $85 - $200 and takes 12h 19m.
What companies run services between Ocean City, NJ, USA and Cape Cod, MA, USA?
You can take a bus from Ocean City Transportation Center to Town Hall Lawton Bus Shelter via Arrival Area Inside Ac Bus Terminal, Atlantic City Rail Terminal, 30th Street Station, Boston, South Station, Hyannis, and Hyannis Transportation Center in around 13h 56m. Alternatively, you can take a bus from Ocean City Transportation Center to Town Hall Lawton Bus Shelter via Port Authority Bus Terminal, New York, Boston, Boston South Buses, and Hyannis Transportation Center in around 12h 19m.
- Website
- jetblue.com
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Nantucket
- Ave. Duration
- 3h 20m
- When
- Tuesday to Saturday
- Estimated price
- $50–350
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Boston Logan Airport
- Ave. Duration
- 3h 54m
- When
- Every day
- Estimated price
- $50–350
Flights from John F. Kennedy International Airport to Boston Logan Airport
- Ave. Duration
- 1h 26m
- When
- Every day
- Estimated price
- $35–280
Flights from John F. Kennedy International Airport to Boston Logan Airport via Martha's Vineyard
- Ave. Duration
- 3h 14m
- When
- Friday
- Estimated price
- $40–290
Flights from John F. Kennedy International Airport to Boston Logan Airport via Nantucket
- Ave. Duration
- 3h 25m
- When
- Thursday and Sunday
- Estimated price
- $45–300
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Boston Logan Airport
- Ave. Duration
- 3h 43m
- When
- Every day
- Estimated price
- $80–550
Flights from Philadelphia International Airport to Boston Logan Airport
- Ave. Duration
- 1h 29m
- When
- Every day
- Estimated price
- $60–410
- Website
- aa.com
Flights from John F. Kennedy International Airport to Boston Logan Airport
- Ave. Duration
- 1h 23m
- When
- Every day
- Estimated price
- $35–280
Flights from Philadelphia International Airport to Boston Logan Airport
- Ave. Duration
- 1h 35m
- When
- Every day
- Estimated price
- $60–410
- Website
- delta.com
Flights from John F. Kennedy International Airport to Boston Logan Airport
- Ave. Duration
- 1h 28m
- When
- Every day
- Estimated price
- $35–280
Flights from Philadelphia International Airport to Boston Logan Airport
- Ave. Duration
- 1h 36m
- When
- Every day
- Estimated price
- $60–410
- Website
- capeair.com
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Boston Logan Airport
- Ave. Duration
- 3h 32m
- When
- Every day
- Estimated price
- $50–350
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Boston Logan Airport
- Ave. Duration
- 3h 45m
- When
- Every day
- Estimated price
- $80–550
Rome2Rio's guide to Amtrak Acela
Contact DetailsContact Details
- Phone
- +1 800-872-7245
- Website
- Amtrak
Train from Ny Moynihan Train Hall At Penn Station to Boston
- Ave. Duration
- 3h 47m
- Frequency
- Every 4 hours
- Estimated price
- $50–750
- Schedules at
- Amtrak Acela
- Website
- Amtrak
- Business Class
- $50–490
- First Class
- $200–750
Train from 30th Street Station to Boston
- Ave. Duration
- 5h 14m
- Frequency
- Every 4 hours
- Estimated price
- $70–800
- Schedules at
- Amtrak Acela
- Website
- Amtrak
- Business Class
- $70–550
- First Class
- $250–800
Rome2Rio's guide to Amtrak
Contact DetailsContact Details
- Phone
- +1 800-872-7245
- Website
- Amtrak
Train from Ny Moynihan Train Hall At Penn Station to Boston
- Ave. Duration
- 4h 21m
- Frequency
- Every 3 hours
- Estimated price
- $65–150
- Website
- Amtrak
Train from 30th Street Station to Boston
- Ave. Duration
- 6h 40m
- Frequency
- Every 3 hours
- Estimated price
- $90–200
- Website
- Amtrak
- Phone
- +1 973-275-5555
- Website
- New Jersey Transit
Train from Atlantic City Rail Terminal to 30th Street Station
- Ave. Duration
- 1h 40m
- Frequency
- Every 2 hours
- Estimated price
- $2–25
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adult
- $2–25
Train from Atlantic City Rail Terminal to 30th Street Station
- Ave. Duration
- 1h 40m
- Frequency
- Every 2 hours
- Estimated price
- $2–25
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adult
- $2–25
Train from Atlantic City Rail Terminal to 30th Street Station
- Ave. Duration
- 1h 40m
- Frequency
- Every 2 hours
- Estimated price
- $2–25
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adult
- $2–25
- Phone
- +1 508-775-8504
- info@capecodrta.org
- Website
- CapeFlyer
Train from South Station to Hyannis
- Ave. Duration
- 2h 30m
- Frequency
- 3 times a week
- Estimated price
- $20–50
- Website
- CapeFlyer
- South Station to Bourne
- $20
- South Station to Hyannis
- $22
- Middleborough to Hyannis
- $50
- Phone
- +1 973-275-5555
- Website
- New Jersey Transit
Bus from Ocean City Transportation Center to Port Authority Bus Terminal
- Ave. Duration
- 3h 17m
- Frequency
- Every 4 hours
- Estimated price
- $20–65
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adults
- $20–65
Bus from Ocean City Transportation Center to Port Authority Bus Terminal
- Ave. Duration
- 3h 17m
- Frequency
- Every 4 hours
- Estimated price
- $20–65
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adults
- $20–65
Bus from Ocean City Transportation Center to Port Authority Bus Terminal
- Ave. Duration
- 3h 17m
- Frequency
- Every 4 hours
- Estimated price
- $20–65
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adults
- $20–65
Bus from Ocean City Transportation Center to Port Authority Bus Terminal
- Ave. Duration
- 3h 17m
- Frequency
- Every 4 hours
- Estimated price
- $20–65
- Website
- New Jersey Transit
- Website
- NJ Transit: World Cup 2026
- Adults
- $20–65
- Phone
- +1 (508) 746-0378
- info@p-b.com
- Website
- Plymouth & Brockton
Bus from Boston South Buses to Hyannis Transportation Center
- Ave. Duration
- 1h 50m
- Frequency
- Hourly
- Estimated price
- $27–35
- Website
- Plymouth & Brockton
- One Way - Adult
- $27–35
Bus from Boston South Buses to Hyannis Transportation Center
- Ave. Duration
- 1h 50m
- Frequency
- Hourly
- Estimated price
- $27–35
- Website
- Plymouth & Brockton
- One Way - Adult
- $27–35
Bus from Logan International Airport to Hyannis Transportation Center
- Ave. Duration
- 2h 15m
- Frequency
- Hourly
- Estimated price
- $28–40
- Website
- Plymouth & Brockton
- One Way - Adult
- $28–40
Bus from Logan International Airport to Hyannis Transportation Center
- Ave. Duration
- 2h 15m
- Frequency
- Hourly
- Estimated price
- $28–40
- Website
- Plymouth & Brockton
- One Way - Adult
- $28–40
- Phone
- 1-800-343-9999
- Website
- Peter Pan
Bus from New York to Boston
- Ave. Duration
- 4h 35m
- Frequency
- Hourly
- Estimated price
- $40–95
- Website
- Peter Pan
Bus from New York to Providence
- Ave. Duration
- 4h
- Frequency
- Every 4 hours
- Estimated price
- $35–80
- Website
- Peter Pan
Bus from Providence to Hyannis
- Ave. Duration
- 1h 50m
- Frequency
- 4 times a day
- Estimated price
- $16–35
- Website
- Peter Pan
- Phone
- +1 214-849-8100
- ifsr@greyhound.com
- Website
- Greyhound
Bus from Atlantic City to Port Authority Bus Terminal
- Ave. Duration
- 2h 55m
- Frequency
- Every 4 hours
- Estimated price
- $24–45
- Website
- Greyhound
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
Why you should take the train in the US
Read the travel guide
How to get from JFK to New York City
Read the travel guide
More Questions & Answers
Ocean City to Cape Cod bus services, operated by NJ Transit, arrive at Port Authority Bus Terminal station.
Ocean City to Cape Cod train services, operated by NJ Transit, arrive at 30th Street Station.
Yes, the driving distance between Ocean City to Cape Cod is 371 miles. It takes approximately 7h 25m to drive from Ocean City to Cape Cod.
There are 890+ hotels available in Cape Cod.













