Hi. I've been on Elavil brand name 10mg for 2 years with no problems at all. Pain subsided and was sleeping good until the last month. None of the drug stores have name brand Elavil anymore! (I live in Canada). My last refill is generic and I know it is what's causing me to have blackout spells, headaches, disorientation and insomnia! I can't sleep! Over the counter sleep aids aren't working. The last three weeks in a row I have been to outpatients with these aweful symptoms. I made an appointment to see my family doctor in 2 days to see what else I can take for pain and sleep. This is affecting my job. I can't afford to miss work or take time off. I haven't taken any amitriptyline in 6 nights. This is all driving me crazy! How can there be such a difference between brand name and generic? O my gosh. I think I'm gonna go nuts!!