Knowledge of the sociodemographic, behavioural, and clinical characteristics of children visiting emergency departments (EDs) for mental health or substance use concerns in Ontario, Canada is lacking. Using data from a population-based survey linked at the individual level to administrative health data, this study leverages a provincially representative sample and quasi-experimental design to strengthen inferences regarding the extent to which children's sociodemographic, behavioural, and clinical characteristics are associated with the risk of a mental health or substance use related ED visit. 9,301 children aged 4-17 years participating in the 2014 Ontario Child Health Study were linked retrospectively (6 months) and prospectively (12 months) with administrative health data on ED visits from the National Ambulatory Care Reporting System. Modified Poisson regression was used to examine correlates of mental health and substance use related ED visits among children aged 4-17 years over a 12-month period following their survey completion date, adjusting for ED visits in the 6 months prior to their survey completion date. Subgroup analyses of youths aged 14-17 years who independently completed survey content related to peer victimisation, substance use, and suicidality were also conducted. Among children aged 4-17 years, older age, parental immigrant status, internalising problems, and perceived need for professional help were statistically significant correlates that increased the risk of a mental health or substance use related ED visit; low-income and suicidal ideation with attempt were statistically significant only among youths aged 14-17 years. Knowledge of the sociodemographic, behavioural, and clinical characteristics of children visiting EDs for mental health and substance use related concerns is required to better understand patient needs to coordinate effective emergency mental health care that optimises child outcomes, and to inform the development and targeting of upstream interventions that have the potential to prevent avoidable ED visits. Growing rates of child mental health and substance use related ED visits have been observed internationally.A population-based survey linked at the individual level to administrative health data was used to examine the extent to which children's sociodemographic, behavioural, and clinical characteristics are associated with the risk of a mental health or substance use related ED visit in Ontario, Canada.Older age, low-income, parental immigrant status, perceived need for professional help, internalising problems, and suicidality increase the risk of an ED visit.Knowledge of the characteristics of children visiting EDs can be used to coordinate effective emergency mental health care that optimises child outcomes, and to inform the development and targeting of upstream interventions that have the potential to prevent avoidable ED visits.