A comprehensive Code of Ethics for the members of the American Association of Physicists in Medicine (AAPM) is presented as the report of Task Group 109 which consolidates previous AAPM ethics policies into a unified document.