There are 8 ways to get from Ocean City to Cape Cod by bus, plane, train, 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 to Laguardia Airport, fly
best- Take the bus from Ocean City Transportation Center to Port Authority Bus Terminalbus
- Fly from Laguardia Airport (LGA) to Barnstable Municipal Airport (HYA)plane LGA - HYA
6h 18m$111–529Drive 369.3 mi
cheapest- Drive from Ocean City to Cape Codcar 369.3 mi
7h 24m$68–98Bus, train
- 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 47m$121–262Train
- 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
14h 13m$112–276Bus to John F. Kennedy International Airport, fly
- 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
8h 2m$412–765Train to Philadelphia International Airport, fly
- 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
8h 15m$114–616Bus
- 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 34m$96–222Bus via Atlantic Ave At Brighton Ave
- Take the bus from Atlantic City to Port Authority Bus Terminalbus
- Take the bus from Port Authority Bus Terminal to Bostonbus
- Take the bus from Boston South Buses to Hyannis Transportation Centerbus
13h 55m$88–161
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 24m.
The fastest way to get from Ocean City to Cape Cod is to bus and fly which takes 6h 18m and costs $110 - $550.
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 34m.
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 14h 13m.
The distance between Ocean City and Cape Cod is 392 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 47m and costs $120 - $270.
It takes approximately 6h 18m 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 14h 13m and costs $110 - $280. Alternatively, you can bus, which costs $95 - $230 and takes 12h 34m.
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 Cape Cod Hospital in around 14h 13m. 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 34m.
- Website
- jetblue.com
Flights from Laguardia Airport to Barnstable Municipal Airport via Nantucket
- Ave. Duration
- 2h 42m
- When
- Tuesday and Wednesday
- Estimated price
- $65–440
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Nantucket
- Ave. Duration
- 3h 10m
- When
- Tuesday to Sunday
- Estimated price
- $50–340
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Boston
- Ave. Duration
- 3h 35m
- When
- Every day
- Estimated price
- $50–340
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Martha's Vineyard
- Ave. Duration
- 2h 46m
- When
- Friday and Saturday
- Estimated price
- $45–330
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Boston
- Ave. Duration
- 3h 38m
- When
- Every day
- Estimated price
- $85–550
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Martha's Vineyard
- Ave. Duration
- 3h 30m
- When
- Friday and Saturday
- Estimated price
- $80–550
- Website
- capeair.com
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Martha's Vineyard
- Ave. Duration
- 2h 46m
- When
- Friday and Saturday
- Estimated price
- $45–330
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Nantucket
- Ave. Duration
- 3h 1m
- When
- Tuesday and Wednesday
- Estimated price
- $50–340
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Boston
- Ave. Duration
- 3h 41m
- When
- Every day
- Estimated price
- $50–340
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Nantucket
- Ave. Duration
- 3h 28m
- When
- Monday, Tuesday, Wednesday, Thursday, Sunday, and Friday
- Estimated price
- $80–550
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Boston
- Ave. Duration
- 3h 41m
- When
- Every day
- Estimated price
- $85–550
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Martha's Vineyard
- Ave. Duration
- 3h 30m
- When
- Friday and Saturday
- Estimated price
- $80–550
- Website
- aa.com
Flights from Laguardia Airport to Barnstable Municipal Airport
- Ave. Duration
- 1h 12m
- When
- Every day
- Estimated price
- $60–430
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
- $70–160
- Website
- Amtrak
Train from 30th Street Station to Boston
- Ave. Duration
- 6h 40m
- Frequency
- Every 3 hours
- Estimated price
- $100–220
- 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
- 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
- $5–22
- Website
- CapeFlyer
- South Station to Bourne
- $20
- South Station to Hyannis
- $22
- Middleborough to Hyannis
- $5
- 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 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
- Phone
- 1-800-343-9999
- Website
- Peter Pan
Bus from New York to Boston
- Ave. Duration
- 4h 35m
- Frequency
- Hourly
- Estimated price
- $45–120
- 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 45m
- Frequency
- Every 3 hours
- Estimated price
- $25–50
- Website
- Greyhound
Bus from Port Authority Bus Terminal to Boston
- Ave. Duration
- 5h 4m
- Frequency
- Hourly
- Estimated price
- $30–65
- 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 24m to drive from Ocean City to Cape Cod.
There are 813+ hotels available in Cape Cod.













