We sought to identify resting-state characteristics related to attention deficit/hyperactivity disorder, both as a categorical diagnosis and as a trait feature, using large-scale samples which were processed according to a standardized pipeline. In categorical analyses, we considered 1301 subjects with diagnosed ADHD, contrasted against 1301 unaffected controls (total N = 2602; 1710 males (65.72%); mean age = 10.86 years, sd = 2.05). Cases and controls were 1:1 nearest neighbor matched on in-scanner motion and key demographic variables and drawn from multiple large cohorts. Associations between ADHD-traits and resting-state connectivity were also assessed in a large multi-cohort sample (N = 10,113). ADHD diagnosis was associated with less anticorrelation between the default mode and salience/ventral attention (B = 0.009, t = 3.45, p-FDR = 0.004, d = 0.14, 95% CI = 0.004, 0.014), somatomotor (B = 0.008, t = 3.49, p-FDR = 0.004, d = 0.14, 95% CI = 0.004, 0.013), and dorsal attention networks (B = 0.01, t = 4.28, p-FDR < 0.001, d = 0.17, 95% CI = 0.006, 0.015). These results were robust to sensitivity analyses considering comorbid internalizing problems, externalizing problems and psychostimulant medication. Similar findings were observed when examining ADHD traits, with the largest effect size observed for connectivity between the default mode network and the dorsal attention network (B = 0.0006, t = 5.57, p-FDR < 0.001, partial-r = 0.06, 95% CI = 0.0004, 0.0008). We report significant ADHD-related differences in interactions between the default mode network and task-positive networks, in line with default mode interference models of ADHD. Effect sizes (Cohen's d and partial-r, estimated from the mega-analytic models) were small, indicating subtle group differences. The overlap between the affected brain networks in the clinical and general population samples supports the notion of brain phenotypes operating along an ADHD continuum.