Aggressive behaviour is an unwanted and serious problem in pet dogs, negatively influencing canine welfare, management and public acceptance. We aimed to identify demographic and environmental factors associated with aggressive behaviour toward people in Finnish purebred pet dogs. We collected behavioural data from 13,715 dogs with an owner-completed online questionnaire. Here we used a dataset of 9270 dogs which included 1791 dogs with frequent aggressive behaviour toward people and 7479 dogs without aggressive behaviour toward people. We studied the effect of several explanatory variables on aggressive behaviour with multiple logistic regression. Several factors increased the probability of aggressive behaviour toward people: older age, being male, fearfulness, small body size, lack of conspecific company, and being the owner’s first dog. The probability of aggressive behaviour also differed between breeds. These results replicate previous studies and suggest that improvements in the owner education and breeding practices could alleviate aggressive behaviour toward people while genetic studies could reveal associated hereditary factors.