If you’re a true dog lover, you take it as one of life’s simple truths that all dogs are good, and you have no patience for scientific debate over whether dogs really love people. Of course they do. What else could explain the fact that your dog runs wildly in circles when you get home from work, and, as your neighbors report, howls inconsolably for hours on end when you leave? What else could explain the fact that your dog insists on sleeping in your bed, under the covers—in between you and your partner? At the same time, there’s no denying that some dogs are smarter than others. Not all dogs can, like a border collie mix named Jumpy, do a back flip, ride a skateboard, and weave through pylons on his front legs.   

A study published in the journal Intelligence by British psychologists Rosalind Arden and Mark Adams confirms as much. Consistent with over a century of research on human intelligence, Arden and Adams found that a dog that excels in one test of cognitive ability will likely excel in other tests of cognitive ability. In more technical terms, the study reveals that there is a general factor of intelligence in dogs—a canine “g” factor.

For their study, Arden and Adams devised a battery of canine cognitive ability tests. All of the tests revolved around—you guessed it—getting a treat. In the detour test, the dog’s objective was to navigate around barriers arranged in different configurations to get to a treat. In the point-following test, a researcher pointed to one of two inverted beakers concealing a treat, and recorded whether the dog went to that beaker or the other one. Finally, the quantity discrimination test required the dog to choose between a small treat (a glob of peanut butter) and a larger one (the “correct” answer). Arden and Adams administered the battery to 68 border collies from Wales; all had been bred and trained to do herding work on a farm, and thus had similar backgrounds.

Just as humans will differ in their scores on intelligence tests, the dogs differed in their performance on the tests. Some of the dogs aced the tests; others struggled. The maze version of the detour test was especially tricky for some of the dogs. In this test, the dog had to navigate through a maze and then crawl through a plastic tube to get the treat. While the best performer took just 3 seconds to complete this task, the worst took nearly 2 minutes. Moreover, scores on the tests tended to correlate positively with one another, implying the existence of a canine g factor. For example, a dog that did well in the quantity discrimination test, consistently preferring the larger glob of peanut better to the smaller one, tended to do well in the pointing test, consistently going where the researcher pointed.

This research suggests that neural mechanisms underlying variation in intelligence may be similar across the animal kingdom. Other research has found evidence for a g factor in mice and monkeys; there are even hints of g in insects. On a more practical level, this research is important for understanding the link between intelligence and health in humans. Research has convincingly established that scores on intelligence tests predict health outcomes. A high IQ is associated with good health and a long life. However, interpretation of this finding is complicated by the fact that IQ may also correlate with “confounding” behaviors such as drinking and smoking. Because dogs refrain from these behaviors, research on canine intelligence can give scientists a more accurate estimate of the relationship between health and intelligence. This is yet another way that dogs are our best friends.