Let h(m) denote the class number of the quadratic field Q(√m). In this paper necessary and sufficient conditions for h (m) to be divisible by 16 are determined when m = −p, where p is a prime congruent to 1 modulo 8, and when m = −2p, where p is a prime congruent to ±1 modulo 8.