A method for the treatment of obesity or other disorders by electrical activation or inhibition of the sympathetic nervous system is disclosed. This activation or inhibition can be accomplished by stimulating the greater splanchnic nerve or other portion of the sympathetic nervous system using an electrode. This nerve activation can result in reduced food intake and increased energy expenditure.