Compulsivity is defined as an unstoppable tendency toward repetitive and habitual actions, which are reiterated despite negative consequences. Polydipsia is induced preclinically by intermittent reward, leading rodents to ingest large amounts of fluids. We focused on the role of dopamine transporter (DAT) and inheritance factors in compulsive behavior. Our sample consisted of DAT heterozygous (HET) rats with different genetic inheritance (MAT‐HET, born from WT‐dams × KO‐fathers; MIX‐HET, born from HET‐dams × KO‐fathers). As controls, we used both wild‐type (WT) rats and their socially‐isolated (WTi) siblings. We ran the schedule‐induced polydipsia (SIP) protocol, to induce compulsive behavior; then the Y‐maze and marble‐burying tests, to verify its actual development. Only MAT‐HET (who inherited the functional DAT allele from the WT mother) is vulnerable to developing compulsive behavior. MAT‐HET rats drank increasingly more water during SIP; they showed significant perseverance in the Y‐maze test and exhibited compulsive actions in the marble‐burying test. Interestingly, compulsive behaviors of MAT‐HET rats correlated with expression ex vivo of different genes in different areas. Regarding the prefrontal cortex (PFC), D2R correlated with Y‐maze “perseverance” in addition to BDNF; considering the amygdala (AMY), both D3R and OXTR correlated with SIP “licks.” Indeed, compulsivity may be linked to D2R and BDNF in PFC, while extreme anxiety in MAT‐HET rats may be associated with D3R and OXTR in the AMY. These results confirm some similarities between MAT‐HET and DAT‐KO subjects, and link the epigenetic context of the DAT gene to the development of compulsive behavior.