Adderall is primarily prescribed for the treatment of attention deficit hyperactivity disorder (ADHD). It is used as part of a comprehensive treatment plan that includes psychological, educational, and social measures.