Newly minted alums from universities across the country are flocking to New York for internships, jobs and, inevitably, cramped apartments.

But have hope, bright-eyed millennials. Certain areas are cheaper, safer and more youth-oriented than others, according to the local real estate website Brick Underground.

A study released earlier this month crowned Bed-Stuy the No. 1 neighborhood for recent grads.

Brick Underground enlisted startup Localize.city to crunch the numbers on one-bedroom prices from listings search engine RentHop as well as per-room costs via roommate-matching service Roomi. Localize also took other variables into account, including crime rate, commute length, bikeability, nightlife options and the size of the youth population.

Bed-Stuy, which scored high in all categories but safety, boasts a median one-bedroom rent of $2,072 and a per-room rent of $999. “Bed-Stuy has become one of the most popular spots in Brooklyn for twentysomethings, who were priced out of places like Williamsburg,” Localize.city urban planner Beth Kancilia told Brick Underground. “You can still find a room for less than $1,000 a month, but it probably won’t be like this for long. The hip neighborhood is gentrifying and becoming more expensive at a rapid pace.”

Ridgewood, Washington Heights and Astoria followed Bed-Stuy on the list, with median room rents of $925, $985 and $1,050 respectively.

Rounding out the top 10 were Concourse in The Bronx, Sunset Park in Brooklyn, Sunnyside, Flatbush, East Harlem and Clinton Hill. See, it is possible to find a good deal in the city — especially in Brooklyn and Queens, whose neighborhoods make up seven of the top 10.