Long Islanders looking for an alternative to the Hamptons may find it in a beachfront property in Atlantic Beach on the market for $5.1 million.

The three-bedroom house with two bathrooms and a half-bath is about 25 miles from New York City, so it's a shorter commute for those who want year-round beachfront living, says listing agent Mark Leventhal of Douglas Elliman Real Estate.

advertisement | advertise on newsday

"It's a great, quick alternative because it's such a short commute," Leventhal says.

The home is one of seven in the development that faces the ocean, and the side of the house facing the water is filled with windows to maximize the view.

When the house was built about 25 years ago, it was featured in Architectural Digest because the Mediterranean-style home has a two-story skylight entrance with direct views of the dunes and the Atlantic Ocean.

The owners made the original four-bedroom house into a three-bedroom home, creating an oversized master suite which has an upper deck overlooking the ocean.

advertisement | advertise on newsday

This property has its own pool, but the gated community also has a pool and a private beach with 24-hour security.