Abstract: We design adaptive finite element methods (AFEMs) for variational problems posed in the Hilbert spaces H(div) and H(curl) in two and three dimensions. The main difficulty is the large null space of curl or div operators and we solve it by using discrete regular decomposition. As a result, we obtain convergence and optimal complexity of our algorithms.