It will be Obama's first visit as president to an American mosque -- though he visited a Jakarta mosque during a 2010 visit -- and comes at a time when American Muslims have reported a surge of anti-Muslim sentiment, linked partly to comments from Republican presidential frontrunner Donald Trump.
"The president will travel to Maryland to visit the Islamic Society of Baltimore mosque to celebrate the contributions Muslim Americans make to our nation and reaffirm the importance of religious freedom," a White House official said.
The official said Obama would meet with community members and then deliver remarks emphasising "the importance of staying true to our core values -- welcoming our fellow Americans, speaking out against bigotry, rejecting indifference and protecting our nation's tradition of religious freedom."
Following the deadly attacks late last year in Paris and in San Bernardino, California, both linked to radical Muslims, Trump called for a temporary ban on all Muslims entering the country "until we can figure out what's going on."
More From This Section
He has also insisted that he saw television images of Muslims celebrating in New Jersey after the World Trade Center attacks in 2001 -- something no independent news source has been able to confirm.
The Islamic Society of Baltimore was established by a handful of families in 1969, according to its website. It has grown to include a school, a nursery and a health clinic.
The website says the centre "aspires to be the anchor of a growing Muslim community with diverse backgrounds, democratically governed, relating to one another with inclusiveness and tolerance.