To examine the association of sleep quality and work from home with physical inactivity (PI) in leisure time during Covid-19 pandemic. A population-based household survey was conducted in two Bra-zilian municipalities from October to December 2020. Leisure-time physical activity (PA) was self-reported, and individuals who practiced less than 150 minutes of moderate PA or 75 minutes of vigorous PA weekly were classified as PI. Sleep quality was measured using the Pittsburgh Sleep Quality Index (PSQI). WFH was assessed by: "Currently, how is your work routine regarding location? Associations were investigated using logistic regression and directed acyclic graphs (DAG) for the multivariate models. A total of 1,750 adults were interviewed, 69.1% were PI and 51.9% had poor sleep quality. Furthermore, 79.8% were not in WFH. In multivariate analysis, leisure PI was associated with poor sleep quality (OR:1.59: 95% CI: 1.02-2.48), and not being in WFH (OR:1.62: 95% CI: 1.05-2.50). When performing the combined analysis between these two factors, and who were not in WFH were four times more likely to be PI at leisure (OR=4.22;95%CI:2.05-8.65). The results indicate a high prevalence of PI, with poor quality sleep and non-WFH associated with leisure PI. These combined factors exacer-bated the occurrence of PI.