The immediate cause of homelessness is often an exogenous shock, such as a health crisis, unexpected lack of employment, or abrupt housing loss. But socio-structural factors make certain people especially vulnerable, and gaps in the social safety net and homelessness services systems can extend homelessness or make it more difficult to remain housed.