Trains
The nearest station is Binyamina, on the coastal line. Rome2rio estimates about 1 hour from Caesarea to Tel Aviv Center by train (the ride itself is shorter), plus getting to Binyamina.
Buses
Buses leave from the Or Akiva interchange: bus 784 then 90, or bus 980 to Bnei Brak, about 1 h 7 min to central Tel Aviv. Check lines on Moovit or bus.gov.il (opens in a new tab).
Driving
Caesarea is about 45 km from both Tel Aviv and Haifa, roughly 42 minutes to Tel Aviv by car without traffic. Hadera is 5 km to the south-east.