The total effect in epidemiology refers to the overall impact of an exposure on an outcome, encompassing both direct and indirect pathways. It quantifies the entire change in the outcome that can be attributed to the exposure, without differentiating between the various mediating variables.