Based on anthropometric data and descriptive information contained in the records of the Rio de Janeiro city jail (Casa de Detenção), this paper explores patterns of change in living conditions during the nineteenth century. The research shows that there were significant changes in the heights of prisoners over time and according to race and nationality.Most importantly, heights of Brazilian-born slaves declined for the cohorts born in the 1830s through the beginning of the 1860s. In addition, differences in heights for natives of the city of Rio de Janeiro and for other Brazilian prisoners provide evidence of an «urban penalty» in stature during this period. Poor nutrition, the high cost of food and shelter, the movement of some slaves out of the city and into plantation work after 1850, and urban epidemics are assessed as the factors influencing trends in prisoner heights. Throughout the analysis, height trends discovered in Rio de Janeiro are placed in international comparative perspective.