We determine the stability, the geometry, the electronic, and magnetic structure of hydrogen-terminated graphene-nanoribbon edges as a function of the hydrogen content of the environment by means of density functional theory. Antiferromagnetic zigzag ribbons are stable only at extremely low ultravac...