This study aimed to analyze adherence to insulin treatment in people with type 1 diabetes or type 2 diabetes in primary health care in a Brazilian municipality.<h4>Methods</h4>This cross-sectional study was developed with 152 participants and a simple probability sample. The gene discussed is INS; the disease is type 1 diabetes mellitus.