It is an alpha adrenal blocker, so for
opiate withdrawal, it helps ease the symptoms of
withdrawal and the feeling of jumping out of your skin. As for withdrawal from an antidrepressant, I am not sure how it would work, but it is prescribed for withdrawal. It can also make you sleepy as part of the side effects, so that is what you are feeling there.