The role of hadronic matter in the suppression of open heavy flavored mesons has been studied. The heavy-quarks (HQs) suppression factors have been calculated and contrasted with the experimental data obtained from nuclear collisions at Relativistic Heavy Ion Collider (RHIC) and Large Hadronic Collider (LHC) experiments. It is found that the suppression in the hadronic phase at RHIC energy is around 20 whereas at the LHC it is around 10 for the D meson. In case of B meson the hadronic suppression is around 10 and 5 at RHIC and LHC energies respectively. Present study suggests that the suppression of heavy flavor in the hadronic phase is significant at RHIC. However, the effect of hadronic suppression at LHC is marginal, this makes the characterization of QGP at LHC less complicated.