LONDON/BRASILIA, Jan 26 (Reuters) - Brazil plans to issue its first-ever green bond in 2023, the Treasury secretary said on Thursday, as the country's new leftist government tries to use its environmental agenda to attract investment.

Rogerio Ceron, speaking at a news conference, said the timing and terms of the sale would be specified later this year.

"The Treasury is indeed preparing to be able to place these bonds in 2023," Ceron said.

Ceron said the bonds must be linked to green projects, citing sustainable agriculture and energy transition as examples, and calling them a sign of the country's commitment to the environment.

Luis Felipe Vital, head of public debt operations at the Brazil National Treasury, earlier on Thursday said that Brazil looked forward to issuing a bond related to the environment.

"Unfortunately it took Brazil a little longer than it took our peers," he told an event. "But we are sure we will have very interesting things to announce in the future."

In early 2021 under the government of then-President Jair Bolsonaro, the Treasury said it would build a framework for issuing an ESG sovereign bond, referring to a bond based around environmental, social and governance criteria.

Most governments sell such debt in the format of a green bond, where the funds are used for environmental projects.

The project failed to move forward, at a time when Bolsonaro's environmental policy was criticized globally.

New President Luiz Inacio Lula da Silva's victory in October is expected to give the environmental agenda a boost as the leftist leader seeks to embrace the transition to a green economy as a focus of a state-driven development policy.

Even before taking office at the start of the year, Lula promised an ambitious environmental overhaul, with plans to grant new protected status to half a million square km (193,000 sq miles) of Amazon rainforest, fight deforestation, subsidize sustainable farming and reform Brazil's tax code to bolster the shift to a greener economy.

"Brazil does give a lot of importance for the environment components," Vital said at the event organised by think tank OMFIF. "So we are looking forward to be back in the market in a bond related to that."

Brazil's last foreign debt issue took place in June 2021, when it raised $2.25 billion. (Reporting by Yoruk Bahceli and Marcela Ayres in Brasilia; Editing by Dhara Ranasinghe and Deepa Babington)