Yankee Magazine has included four York County towns on its list of the “25 Best Beach Towns” in New England.

Ogunquit tops the list, followed by Kennebunkport in the seventh spot. York Beach is ranked No. 11 and Old Orchard Beach is No. 17.

Writer Stephen Jermanok and magazine editors evaluated the towns in 14 categories, including picturesque quality, traffic, parking, lodging, public access to beaches, water temperature and availability of food.

“To determine the 25 best beach towns in New England, we asked which beachfront communities offer the quintessential summer joys of unfurling a blanket on sand, listening to the waves and jumping them and then, sun-kissed and eager for sundown, strolling the streets and poking into shops,” said Yankee editor Mel Allen in a prepared statement.

The list is published in the magazine’s July/August issue released today.

CORRECTION: This story was updated Tuesday, June 26 to reflect that Kennebunkport was ranked 7th, not 2nd.