The invention relates to use of the cis- (Z) isomer or isomeric mixtures containing specified ratios of the cis- (Z) and trans- (E) isomers of doxepin, metabolites of doxepin, pharmaceutically-acceptable salts of doxepin and prodrugs of the same; compositions containing the same, for the treatment of sleep disorders