In this paper, a dual-band high-frequency metamaterial absorber based on patch resonator is designed and analyzed for solar cells. In order to obtain a metamaterial absorber, metal-semiconductor-metal layers are combined. The results of the designed structure are shown in the infrared and visible ranges of solar spectrum. Structural parameters and dimensions of the device have a significant importance on the performance of the designed absorber. The simulations are carried out with full-wave electromagnetic (EM) solver based on the finite integration technique. In the first simulation, the constitutive parameters of the structure are selected as constant in which the metamaterial absorber has 99.99% absorption at 558.75 THz and 99% absorption at 216.75 THz. When the structure parameters are designed again according to Drude model, the second simulation results show that the metamaterial absorber has 99.96% absorption at 514.5 THz and 99.63% absorption at 197.25 THz. Moreover, the second simulation results show that the proposed design is also polarization and incident angle insensitive. Furthermore, the structure is enhanced by the integration of the graphene layer(s). In addition, the fractional bandwidths (FBW) for the resonances are also calculated to show the quality of the absorber. As a result, the proposed metamaterial absorber based on patch resonator and its enhancement with graphene present high absorption in the infrared and visible ranges and can be used in many meta material and solar applications. (C) 2016 Elsevier B.V. All rights reserved.