OBJECTIVES: Primary care high-risk prescribing causes significant harm, but it is unclear if it is largely driven by individuals (a 'bad apple' problem) or by practices having higher or lower risk prescribing cultures (a 'spoiled barrel' problem). The study aimed to examine the extent of variation in high-risk prescribing between individual prescribers and between the practices they work in.DESIGN, SETTING AND PARTICIPANTS: Multilevel logistic regression modelling of routine cross-sectional data from 38 Scottish general practices for 181 010 encounters between 398 general practitioners (GPs) and 26 539 patients particularly vulnerable to adverse drug events (ADEs) of non-steroidal anti-inflammatory drugs (NSAIDs) due to age, comorbidity or ...