For a given positive integer k, we prove that there are at least x(1/2-o(1)) integers d <= x such that the real quadratic fields Q(root d + 1), ..., Q(root d + k) have class numbers essentially as large as possible.