Childhood obesity is a public health problem worldwide. An important determinant of child and adolescent obesity is socioeconomic status (SES). However, the magnitude of the impact of different SES indicators on pediatric obesity on the Spanish population scale is unclear. The aim of this study was to assess the association between three SES indicators and obesity in a nationwide, representative sample of Spanish children and adolescents. A total of 2791 boys and girls aged 8 to 16 years old were included. Their weight, height, and waist circumference were measured. SES was assessed using two parent/legal guardian self-reported indicators (educational level -University/non-University- and labor market status -Employed/Unemployed-). As a third SES indicator, the annual mean income per person was obtained from the census section where the participating schools were located (≥12.731€/<12.731€). The prevalence of obesity, severe obesity, and abdominal obesity was 11.5%, 1.4%, and 22.3%, respectively. Logistic regression models showed an inverse association of both education and labor market status with obesity, severe obesity, and abdominal obesity (all p < 0.001). Income was also inversely associated with obesity (p < 0.01) and abdominal obesity (p < 0.001). Finally, the highest composite SES category (University/Employed/≥12.731€ n = 517) showed a robust and inverse association with obesity (OR = 0.28; 95% CI: 0.16–0.48), severe obesity (OR = 0.20; 95% CI: 0.05–0.81), and abdominal obesity (OR = 0.36; 95% CI: 0.23–0.54) in comparison with the lowest composite SES category (Less than University/Unemployed/<12.731€; n = 164). No significant interaction between composite SES categories and age and gender was found. SES is strongly associated with pediatric obesity in Spain.The PASOS study was funded by Fundación PROBITAS (2019) and the Gasol Foundation (2019-2020). Additional funds were received from the Barça Foundation (2019-2020), Banco Santander (2019), IFA (2019-2020), Vienna (2019), and the Fundación Deporte Joven (2019) (no references are applicable). J.A.T., M.G.-G. and C.B. are funding by Instituto de Salud Carlos III through the CIBEROBN CB12/03/30038, which are co-funded by the European Regional Development Fund