A nonuniversal Abelian extension Uð1Þ X free from chiral anomalies is introduced into the standard model (SM), in order to evaluate its suitability in addressing the fermion mass hierarchy (FMH) by using seesaw mechanisms (SSM). In order to break the electroweak symmetry, three Higgs doublets are introduced, which give mass at tree level to the top and bottom quarks, and the muon lepton. With an electroweak singlet scalar field, the Uð1Þ X symmetry is broken and the exotic particles acquire masses. The light particles in the SM obtain their masses via SSM and Yukawa couplings differences. Active neutrino masses are generated through inverse seesaw mechanisms (ISM). Additionally, the algebraic expressions for the mixing angles for quarks and leptons are also shown in the article.