An artificial cornea is formed from a hydro gel polymer and includes a monolithic body having a center optic surrounded by an annular rim. Artificial cornea is inserted into a central anterior opening in a cornea so that the annular rim enters an annular pocket surrounding the opening. The height of the center optic matches the depth of the central opening so that the level of the artificial cornea matches that of the native cornea.