The subway commute to Manhattan is longer, and organic markets and stylish boutiques are fewer. But those are the trade-offs as the search for more affordable real estate in Brooklyn pushes deeper into neighborhoods that for some New Yorkers still evoke images of burned-out buildings, riots and poverty.

Many Brooklynites, priced out of Williamsburg, Boerum Hill, Carroll Gardens and Park Slope, are heading farther in. They are turning to neighborhoods like Sunset Park, Crown Heights, Bushwick and Prospect-Lefferts Gardens, bringing a willingness and an ability to pay more for housing than the waves of residents who came before them.

“What many clients have told me is that they like the old Brooklyn vibe of these up-and-coming areas,” said Kristen Larkin, an agent with TOWN Residential. “They like the sense of community, friendliness of the neighbors, and the mom-and-pop shops that come along with it.”

Brokers and developers say the cross-Brooklyn migration has picked up in recent years, as recent college graduates, artists and families, mostly white, seek new affordable neighborhoods. The median real estate price for Boerum Hill ($675,000), Carroll Gardens ($677,500) and Cobble Hill ($750,000), once viewed as out-of-the-way destinations for renters and homeowners unable to afford Manhattan, now rivals those in the northern reaches of the Upper East and West Sides and parts of Lower Manhattan, according to Streeteasy.com.