A total of 38 pubs were prosecuted last year for breaching the smoking ban, according to the Office of Tobacco Control's annual report.
Nearly 29,000 inspections of workplaces were carried out by environmental health officers and 95% were found to be compliant.
The Office of Tobacco Control says active enforcement of the smoke-free legislation was vital in maintaining high levels of compliance.