Government minister, Scott Buchholz, has apologised for "behaving like an idiot" after a female defence officer reportedly complained about his behaviour.

The Royal Australian Air Force (RAAF) member lodged a complaint about the Assistant Minister for Roads and Transport, who says he recognises how inappropriate his actions were.

The nature of the complaint is unknown but the incident is understood to have occurred in August last year in Darwin, before Mr Buchholz was promoted to the frontbench by the prime minister.