Narrowband ultraviolet B and medium-dose ultraviolet A1 are equally effective in the treatment of moderate to severe atopic dermatitis.