Millennials continue to move to cities in droves, as jobs and services tailored to their needs move in right beside them. The generation that prefers Uber to their own cars and Airbnb to hotels is also willing to trade the American dream of owning a home for the thrills of city life.

In New York City, where the median cost to rent an apartment reaches $3,900 per month, millennials — who can roughly be defined as people between ages 20 and 36 — make up nearly one-fifth of the population. Across the country in San Francisco, recent graduates can expect to drop as much as 79% of their salary on a place to live. The median rent tops $4,400 per month.

But urban dwellers are finding ways to make it work.

Take a look at some of the more unusual living situations that young city residents call home.