The brother of Australia's Customs boss has escaped a criminal conviction after he confessed to lying to an inquiry investigating corruption at Sydney airport.

Fabio Pezzullo, a former Customs officer, was on Tuesday fined and placed on a two-year good behaviour bond for perjuring himself before a corruption watchdog.

The 42-year-old was charged after an investigation over allegations he sold the prescription drug Kamagra to fellow Sydney Airport Customs officers and lied to the Australian Commission for Law Enforcement Integrity.

The commission was investigating several of his colleagues for drug importation and bribery.

Pezzullo, the brother of Australian Customs and Border Protection Service chief Michael Pezzullo, was summoned to give evidence before the commission in October 2012.

Despite being told verbally and in writing not to tell anyone of the summons, Mr Pezzullo told his flatmate, a former Customs officer.

The Downing Centre Local Court heard on Tuesday feelings of guilt prompted him to confess to the commission months later that he had lied about not telling anyone of the summons.

With AAP