Despite general public support, efforts to build affordable housing often encounter stiff resistance due to “not in my backyard” (NIMBY) attitudes, which are often rooted in false or unsupported beliefs about affordable housing and its impacts on surrounding communities. Would correcting these misperceptions increase support for building affordable housing? To answer this question, we conducted a preregistered survey experiment measuring how support for affordable housing in the U.S. varies at different distances from where respondents live (one-eighth of a mile away, two miles away, or in their state). Our results indicate that correcting stereotypes about affordable housing and misperceptions about its effects increase support for affordable housing. Contrary to expectations, these effects are often larger for affordable housing near the respondent’s home (rather than at the state level), suggesting that debunking myths about affordable housing may help to counter NIMBY attitudes.