imposture
The act of deceiving people by pretending to be someone or something you are not, especially to gain money, trust or standing.
Tell
posing falsely, never in jest
Best when
You mean the whole act of passing yourself off falsely, viewed as a deception, and want a formal word that leaves the method open.
Example
“His imposture as a surgeon lasted three years before he was caught.”
Branches
posing as someone else
a particular real person
- impersonation being someone else, to amuse or deceive
- identity theft someone's details used for gain
a role worn as cover
- masquerade a false front worn like a costume
claiming skill one lacks
medicine and cures
- quackery fake medical cure or skill
a showy display of skill
- charlatanry claimed skill, often showy