<p>Doxepin binds with high affinity to the histamine H1 receptor (Ki&lt;1 nM) where it functions as an antagonist. The exact mechanism by which doxepin exerts its sleep maintenance effect is unknown but is believed due to its antagonism of the H1 receptor.</p>