Evidence about the relation between earnings management and voluntary audits is scarce, and there is no research about the effectiveness of mandatory audits to improve earnings quality. Using a sample of Spanish SMEs, where some companies are mandatorily audited and some are exempt from audit,...