You don't have venture all the way to the Greek islands to enjoy a dip in the Aegean Sea. Athens has a string of beaches which begins in Pireaus, known as The Apollo Coast. And like any city, the further out of town you go, the better the beaches are. The seas closest to the city used to be quite polluted, though they are considerably cleaner now after some clean-up efforts.
But in general, if you want to play it safe and enjoy the best beaches Athens has to offer, begin with the Kavouri-Vouliagmeni area and find the beach most suited to you between there and Sounion. Athens has several very nice pay-beaches along the southwest, including Glyfada and Varkiza. These beaches include amenities like cabanas, showers, cafes, restaurants, and everything else you may need for a long day at the beach. You may also encounter windsurfers and people fishing near Athenian beaches, as the coast is a great place for these activities.
The best way to go to the beaches of Attika are by car, either a rental or get together with some friends and book a taxi for the day. As for public transportation the Coastal Tram goes as far as Voula. From there you can take the 122 which goes along the coast as far as Saronida. A faster way is to take the metro to Ellinikon and catch the 122 there.
For more info: https://www.athensguide.com/beaches/index.htm
