When you think of New York housing, you probably either picture the typical real-life version — a hovel that can barely fit the rats that infest it — or the popular TV version: a sprawling, sun-drenched paradise.

While some series portray New York real estate fairly accurately, many have turned a blind eye to what its characters would actually be able to afford in the Big Apple’s housing market. Carrie Bradshaw’s spacious studio with a walk-in closet? Trust us, newspaper columnists with a shoe addiction don’t live like this.

“Girls” 1990s - present 1970s - 1980s 1950s DREAM PAD Shoshanna Cosby Show Friends Jeffersons Sex and the City Living Single Seinfeld I Love Lucy All in the Family Hannah Honeymooners Adam Unbreakable Kimmy Schmidt Marnie WHAT A DUMP “Girls” 1990s - present 1970s - 1980s 1950s Friends DREAM PAD Cosby Show Shoshanna Sex and the City Jeffersons I Love Lucy Living Single Seinfeld Hannah All in the Family Unbreakable Kimmy Schmidt Honeymooners Adam Marnie WHAT A DUMP “Girls” 1990s - present 1970s - 1980s 1950s DREAM PAD Friends Cosby Show Sex and the City Jeffersons Shoshanna Seinfeld Living Single I Love Lucy Hannah All in the Family Adam Honeymooners Marnie Unbreakable Kimmy Schmidt WHAT A DUMP

“Girls” is an example of the strides TV shows have made in illustrating New York City living with a degree of realism. But it still falls short of getting it just right.

As the HBO series comes to a close Sunday, we looked at how the entertainment industry has represented New York real estate, for better or for worse, from the Bunkers in Queens to our “Friends” in the West Village. (Oh, how we wish we lived with Monica Geller.)