We assessed the prevalence of prescribing of certain medications for alcohol dependence and the extent of any inequalities in receiving prescriptions for individuals with such a diagnosis. Further, we compared the effectiveness of two of the most prescribed medications (acamprosate and disulfiram) for alcohol dependence and assessed whether there is inequality in prescribing either of them. We used a nationwide dataset on prescriptions and hospitalisations in Scotland, UK (N = 19,748). We calculated the percentage of patients receiving alcohol dependence prescriptions after discharge, both overall and by socio-economic groups. Binary logistic regressions were used to assess the odds of receiving any alcohol-dependence prescription and the comparative odds of receiving acamprosate or disulfiram. Comparative effectiveness in avoiding future alcohol-related hospitalisations (N = 11,239) was assessed using Cox modelling with statistical adjustment for potential confounding. Upto 7% of hospitalised individuals for alcohol use disorder received prescriptions for alcohol dependence after being discharged. Least deprived socio-economic groups had relatively more individuals receiving prescriptions. Inequalities in prescribing for alcohol dependence existed, especially across sex and comorbidities: males had 12% (odds ratio [OR] 0.88, 95% confidence interval [CI] 0.81-0.96) and those with a history of mental health hospitalisations had 10% (OR 0.90, 95% CI 0.82-0.98) lower odds of receiving prescriptions after an alcohol-related hospitalisation. Prescribing disulfiram was superior to prescribing acamprosate in preventing alcohol-related hospitalisations (hazard ratio ranged between 0.60 and 0.81 across analyses). Disulfiram was relatively less likely prescribed to those from more deprived areas. Inequalities in prescribing for alcohol dependence exists in Scotland with lower prescribing to men and disulfiram prescribed more to those from least deprived areas.