If you accidentally misspell "penitentiary" as "pentitentiary", there are a few correct suggestions to consider. You could try "penetentiary" or perhaps "penitentiery". However, the most accurate spelling is indeed "penitentiary", referring to a facility for imprisonment and rehabilitation.