who was president of the united states during the war of 1812? June 26, 2026 • 1 min read TwitterFacebookWhatsAppLinkedInTelegramCopy Link James Madison was the president of the United States during the War of 1812. Written by Valli Kalyana Sundareswarar "Once you learn to read, you will be forever free." — This philosophy guides my writing and exploration of ideas.