There are 10 ways to get from Ocean City to Cape Cod by train, bus, car, plane, bus (Flixbus), 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.
Train, bus
best- Take the train from Atlantic City Rail Terminal to 30th Street Stationtrain
- Take the train from 30th Street Station to Ny Moynihan Train Hall At Penn Stationtrain
- Take the train from Ny Moynihan Train Hall At Penn Station to Bostontrain
- Take the bus from Boston South Station to Barnstablebus
11h 50m$95–1,476Bus via Boston
cheapest- Take the bus from Ocean City Transportation Center to Port Authority Bus Terminalbus 319
- Take the bus from New York Midtown to Bostonbus
- Take the bus from Boston South Station to Hyannis Transportation Centerbus
12h 39m$64–167Bus, train
- Take the bus from Ocean City, NJ to New York, NYbus
- Take the train from Ny Moynihan Train Hall At Penn Station to Bostontrain
- Take the bus from Boston South Station to Hyannis Transportation Centerbus
11h 50m$66–865Drive 369.3 mi
- Drive from Ocean City to Cape Codcar 369.3 mi
7h 23m$68–98Bus to John F. Kennedy International Airport, fly to Barnstable Municipal Airport
- Take the bus from Ocean City, NJ to New York, NYbus
- Fly from John F. Kennedy International Airport (JFK) to Barnstable Municipal Airport (HYA)plane JFK - HYA
8h 34m$338–637Bus
- Take the bus from Atlantic City to Port Authority Bus Terminalbus
- Take the bus from Port Authority Bus Terminal to Peter Pan Bus Terminalbus
- Take the bus from Providence Bus Terminal to Hyannis Transportation Centerbus
14h 6m$77–176Bus to Laguardia Airport, fly to Barnstable Municipal Airport
- Take the bus from Ocean City, NJ to New York, NYbus
- Fly from Laguardia Airport (LGA) to Barnstable Municipal Airport (HYA)plane LGA - HYA
8h 21m$249–828Bus to John F. Kennedy International Airport, fly to Boston Logan Airport, bus
- Take the bus from Ocean City, NJ to New York, NYbus
- 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 13m$383–874Train 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
8h 50m$290–687Train 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 22m$130–444
Ocean City to Cape Cod by bus, foot, subway, 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 23m.
The fastest way to get from Ocean City to Cape Cod is to drive which takes 7h 23m 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 Midtown, Boston South Station and Hyannis Transportation Center. The journey, including transfers, takes approximately 12h 39m.
The distance between Ocean City and Cape Cod is 478 miles. The road distance is 371.4 miles.
The best way to get from Ocean City to Cape Cod without a car is to train and bus which takes 11h 50m and costs $95 - $1,500.
It takes approximately 11h 50m 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 bus services, operated by NJ Transit, arrive at Port Authority Bus Terminal station.
Yes, the driving distance between Ocean City to Cape Cod is 371 miles. It takes approximately 7h 23m to drive from Ocean City to Cape Cod.
There are 760+ hotels available in Cape Cod.
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 Port Authority Bus Terminal, New York Midtown, Boston, Boston South Station, and Hyannis Transportation Center in around 12h 39m.
- Website
- aa.com
Flights from Laguardia Airport to Barnstable Municipal Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- $45–340
Flights from John F. Kennedy International Airport to Boston Logan Airport
- Ave. Duration
- 1h 17m
- When
- Every day
- Estimated price
- $40–320
Flights from Philadelphia International Airport to Barnstable Municipal Airport
- Ave. Duration
- 1h 32m
- When
- Every day
- Estimated price
- $55–380
Flights from Philadelphia International Airport to Boston Logan Airport
- Ave. Duration
- 1h 29m
- When
- Every day
- Estimated price
- $60–410
- Website
- jetblue.com
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport
- Ave. Duration
- 1h 19m
- When
- Monday, Thursday, Friday, and Sunday
- Estimated price
- $40–300
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Boston Logan Airport
- Ave. Duration
- 3h 20m
- When
- Every day
- Estimated price
- $40–300
Flights from John F. Kennedy International Airport to Barnstable Municipal Airport via Martha's Vineyard
- Ave. Duration
- 3h 35m
- When
- Monday, Tuesday, Thursday, and Saturday
- Estimated price
- $40–300
Flights from John F. Kennedy International Airport to Boston Logan Airport
- Ave. Duration
- 1h 16m
- When
- Every day
- Estimated price
- $40–320
Flights from Philadelphia International Airport to Barnstable Municipal Airport via Boston Logan Airport
- Ave. Duration
- 3h 50m
- When
- Monday, Thursday, Friday, and Sunday
- Estimated price
- $60–390
Flights from Philadelphia International Airport to Boston Logan Airport
- Ave. Duration
- 1h 19m
- When
- Every day
- Estimated price
- $60–410
- Website
- delta.com
Flights from John F. Kennedy International Airport to Boston Logan Airport
- Ave. Duration
- 1h 23m
- When
- Every day
- Estimated price
- $40–320
Flights from Philadelphia International Airport to Boston Logan Airport
- Ave. Duration
- 1h 29m
- When
- Every day
- Estimated price
- $60–410
- Phone
- +1 973-275-5555
- Website
- njtransit.com
Train from Atlantic City Rail Terminal to 30th Street Station
- Ave. Duration
- 1h 40m
- Frequency
- Every 2 hours
- Estimated price
- $2–25
- Website
- https://www.njtransit.com
- Schedules at
- https://www.njtransit.com/bus-to
- Adult
- $2–25
Rome2Rio's guide to Amtrak Northeast Regional
Contact Details
- Phone
- +1 800-872-7245
- Website
- amtrak.com
Train from 30th Street Station to Ny Moynihan Train Hall At Penn Station
- Ave. Duration
- 1h 26m
- Frequency
- Hourly
- Estimated price
- $12–230
- Website
- https://www.amtrak.com/home
- Schedules at
- https://www.amtrak.com/northeast-regional-train
- Coach
- $12–230
- Business Class
- $60–270
Train from Ny Moynihan Train Hall At Penn Station to Boston
- Ave. Duration
- 4h 21m
- Frequency
- Every 3 hours
- Estimated price
- $30–300
- Website
- https://www.amtrak.com/home
- Schedules at
- https://www.amtrak.com/northeast-regional-train
- Coach
- $30–300
- Business Class
- $95–360
Rome2Rio's guide to Amtrak
Contact Details
- Phone
- +1 800-872-7245
- Website
- amtrak.com
Train from 30th Street Station to Ny Moynihan Train Hall At Penn Station
- Ave. Duration
- 1h 24m
- Frequency
- Hourly
- Estimated price
- $17–270
- Website
- https://www.amtrak.com/home.html
Rome2Rio's guide to Amtrak Acela
Contact Details
- Phone
- +1 800-872-7245
- Website
- amtrak.com
Train from 30th Street Station to Ny Moynihan Train Hall At Penn Station
- Ave. Duration
- 1h 20m
- Frequency
- Every 2 hours
- Estimated price
- $20–600
- Schedules at
- https://www.amtrak.com/acela-train
- Website
- https://www.amtrak.com/home.html
- Business Class
- $20–460
- First Class
- $130–600
Train from Ny Moynihan Train Hall At Penn Station to Boston
- Ave. Duration
- 3h 49m
- Frequency
- Every 4 hours
- Estimated price
- $50–750
- Schedules at
- https://www.amtrak.com/acela-train
- Website
- https://www.amtrak.com/home.html
- Business Class
- $50–490
- First Class
- $200–750
- Phone
- 1-800-343-9999
- Website
- peterpanbus.com
Bus from Boston South Station to Barnstable
- Ave. Duration
- 1h 15m
- Frequency
- Every 3 hours
- Estimated price
- $9–40
- Website
- https://peterpanbus.com
- Adult
- $9–40
Bus from Boston South Station to Hyannis Transportation Center
- Ave. Duration
- 1h 35m
- Frequency
- Every 3 hours
- Estimated price
- $10–40
- Website
- https://peterpanbus.com
- Adult
- $10–40
Bus from Port Authority Bus Terminal to Peter Pan Bus Terminal
- Ave. Duration
- 4h
- Frequency
- Every 4 hours
- Estimated price
- $25–55
- Website
- https://peterpanbus.com
- Adult
- $25–55
Bus from Providence Bus Terminal to Hyannis Transportation Center
- Ave. Duration
- 1h 50m
- Frequency
- 4 times a day
- Estimated price
- $11–40
- Website
- https://peterpanbus.com
- Adult
- $11–40
- Phone
- +1-844-800-6828
- pr@ourbus.com
- Website
- ourbus.com
Bus from Ocean City, NJ to New York, NY
- Ave. Duration
- 3h 5m
- Frequency
- Twice daily
- Estimated price
- $20–70
- Website
- https://www.ourbus.com
- Phone
- +1 973-275-5555
- Website
- njtransit.com
Bus from Ocean City Transportation Center to Port Authority Bus Terminal
- Ave. Duration
- 3h 17m
- Frequency
- 4 times a day
- Estimated price
- $20–65
- Website
- https://www.njtransit.com
- Schedules at
- https://www.njtransit.com/bus-to
- Adults
- $20–65
- Phone
- +1 (855) 626-8585
- Website
- flixbus.com
Bus from New York Midtown to Boston
- Ave. Duration
- 4h 20m
- Frequency
- Hourly
- Estimated price
- $30–60
- Schedules at
- flixbus.com
- Phone
- +1 214-849-8100
- ifsr@greyhound.com
- Website
- greyhound.com
Bus from Atlantic City to Port Authority Bus Terminal
- Ave. Duration
- 2h 55m
- Frequency
- Every 4 hours
- Estimated price
- $35–70
- Website
- https://www.greyhound.com/
- Phone
- +1 (508) 746-0378
- info@p-b.com
- Website
- p-b.com
Bus from Logan International Airport to Hyannis Transportation Center
- Ave. Duration
- 2h 15m
- Frequency
- Hourly
- Estimated price
- $28–40
- Website
- https://www.p-b.com
- One Way - Adult
- $28–40
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



















