The 41-year-old actor, who has previously anchored the Tony Awards and the Emmys several times, will present the star-studded ceremony at the Dolby Theatre in Los Angeles on February 22, reported Variety.
Harris announced the news on Twitter by posting a video clip of himself telling an unidentified person, "I'm in" during a phone call.
In the video, the 'Gone Girl' actor, who recently married his long-term boyfriend David Burtka, with whom he has four-year-old twins, Harper and Gideon, is then seen consulting his bucket list, which includes having children, getting married and meeting the president, and circling the final item that reads 'host the Oscars' with a black pen.
"To be asked to follow in the footsteps of Johnny Carson, Billy Crystal, Ellen DeGeneres, and everyone else who had the great fortune of hosting is a bucket list dream come true."
Also Read
Talk show queen Ellen hosted this year's ceremony in March, which scored the best ratings in 14 years, but declined an offer to take on the job again.
The Academy Awards is televised live in more than 225 countries around the globe. Organizers will announce nominations for the Oscars on January 15, 2015.