In court papers rejecting a petition by four of more than 100 detainees refusing food, the US said the feedings would continue to do the illegal act, but not during the day.
Observant Muslims fast daily from sunrise to sunset during the holy month of Ramadan.
US’s feeding of detainees via neogastric tube, which the United Nations has slammed as a violation of human rights, will be carried out by the facility "before dusk and after sunset in order to accommodate their religious practices", lawyers for President Obama said.
They also said that the "public interest lies with maintaining the status quo".
Last month, Obama gave a speech in which he promised to work towards closing the base, and to allow the release of many of the 86 prisoners held there who have been cleared for transfer.
He described the camp as a moral problem for the nation that had to be solved.
US government lawyers also argued that the detainees bringing the case, Shaker Aamer, Nabil Hadjarab, Ahmed Belbacha and Abu Wa'el Dhiab, are not "persons" under the Religious Freedom Restoration Act, and are therefore not protected under it.
A group of detainees began a hunger strike in February this year, in protest at their detention.
Some have been detained without trial for more than a decade. It also highlights Obama's failure to deliver a 2008 campaign pledge to close the camp.
Shaker Aamar, who has spent 11 years without trial at the camp, despite being twice cleared for release, recently spoke of increasingly brutal tactics being used in an attempt to break the strike.
The Council on American-Islamic Relations, the largest Muslim civil rights and advocacy organization in the US, reiterated its call on Monday for an immediate stop to the force-feeding of hunger-striking prisoners at Guantanamo Bay.
Lawyers for the detainees described the tube feeding as "barbaric" and hit out at the failure of the US government to provide a specific guarantee that no feeding would happen during the day.
Cori Crider, counsel for the men and strategy director at Reprieve, said: "These are more weasel words from the Obama administration – they say they have 'no plans' to force-feed during the day in Ramadan, but give no guarantees. Meanwhile, on the eve of Independence Day, they ride rough-shod over the fundamental right of people to choose what goes into their bodies. "
Jon Eisenberg, US counsel for the men, said: "The Obama administration argues here that 'the public interest lies with maintaining the status quo'. The status quo is that these men are being held indefinitely without any sort of trial, even though they were cleared for release years ago."
"Consider the irony of the Obama administration arguing here that the Guantánamo Bay detainees are not 'persons' within the scope of US law guaranteeing religious freedom, in a post-Citizens United world where even corporations are endowed with legal personhood."
There are 166 detainees at Guantanamo, 106 of them are on hunger strike. Of those, 45 of them are being fed through tubes directly into the stomach, according to the court papers.