WASHINGTON — Attorney General Jeff Sessions said on Thursday that he would advise President Trump to send newly captured terrorism suspects to the wartime prison at Guantánamo Bay, Cuba, which he called “a very fine place,” rather than to bring them to civilian court for prosecution by the Justice Department he now runs.

“There’s plenty of space,” Mr. Sessions said of the prison. “We are well equipped for it. It’s a perfect place for it. Eventually, this will be decided by the military rather than the Justice Department. But I see no legal problem whatsoever with doing that.”

As a senator, Mr. Sessions was a critic of former President Barack Obama’s efforts to close the prison and his refusal to bring any new captives to it. But Mr. Sessions’s remarks, in an interview with the conservative talk radio host Hugh Hewitt, were his first extensive public comments on the topic since becoming attorney general last month.

Mr. Hewitt did not raise the question of whether the United States would seek to take custody of Abu Khaybar, who is suspected of being a Qaeda militant and was captured last fall in Yemen by another country, nor what should happen to terrorism suspects who are American citizens. Mr. Trump said during the campaign that he was “fine” with sending Americans to Guantánamo.