LIMA, Peru — Peru’s Constitutional Tribunal approved a habeas corpus request Monday to free the opposition leader Keiko Fujimori from preliminary detention while she is investigated for alleged corruption.

The court noted that the ruling does not constitute a judgment of Ms. Fujimori’s culpability or innocence regarding accusations that she accepted money from Odebrecht, the Brazilian construction giant at the center of a multicountry bribery scandal.

“The Constitutional Tribunal isn’t ruling on the fundamental issue,” said Ernesto Blume, the tribunal president. “It’s not declaring her absolution nor her guilt.”

Habeas corpus places the burden of proof on those detaining a person to justify the detention.

Ms. Fujimori finished second in the 2011 presidential election and five years later lost in a razor-thin vote, coming within less than half a percentage point of defeating Pedro Pablo Kuczynski. Mr. Kuczynski resigned last March and is in pretrial detention as a corruption investigation continues.