To log out of Facebook Messenger, navigate to your profile settings within the app, then locate and select the "Log out" option. If you're looking to log out of all devices, you'll need to go through Facebook's settings and manage your active sessions.