This article explains how to delete a user account on a Mac, and how to set up a guest user account. Instructions apply to macOS Catalina (10.15) through OS X Mavericks (10.9). Earlier versions of the operating system have similar methods for deleting accounts and enabling guest user access.
How do I delete user accounts on a Mac?
If you’ve added extra accounts to your Mac, deleting them is a smart and easy thing to do. Here’s how to delete a user on a Mac.
Go to System Preferences by selecting it from the Apple menu or clicking the icon in the Dock.
In the System Preferences screen, click Users & Groups.