In this paper we determine all the abelian extensions of rational function fields which have divisor class number one. We also determine all the imaginary abelian extensions with relative divisor class number one. (c) 2006 Elsevier Inc. All rights reserved.