The Australian Medical Association has appointed Dr Michael Schaper as its next secretary general.

Dr Schaper will take up the position in late July, replacing Ms Anne Trimmer, who will leave the AMA in August at the completion of her five-year term.

He will join the AMA from his current position as deputy chairman of the Australian Competition and Consumer Commission (ACCC), a position he has held since 2008.