How to Enable or Disable Local Passcode in Telegram for Windows 11?
The Local Passcode Lock in Telegram is a security feature that protects the Telegram desktop application itself. It is different from the password you use for your Telegram account or the Two-Step Verification feature.
When this feature is enabled, the Telegram app will lock automatically after a specified time. Anyone trying to access the application must enter the passcode you created. This prevents others from opening your chats even if they have access to your computer.
This feature is especially useful in situations where:
You use a shared computer at home or work, step away from your computer frequently, or you want an extra layer of security for your private conversations.
Telegram allows you to customize the auto lock timer, which determines how quickly the application locks itself after inactivity.
On Windows 11, Telegram provides an easy way to enable or disable this passcode directly within the desktop application. Once the passcode is activated, Telegram will require the password whenever the app is opened or unlocked after inactivity.
This guide explains how to enable and disable the Local Passcode in Telegram for Windows 11 using simple and clear instructions.
How to Enable Local Passcode in Telegram for Windows 11?

To enable the Local Passcode in Telegram for Windows 11, open the Telegram Desktop application, go to Settings, select Privacy and Security, find the Local Passcode Lock option, and create a passcode. Once enabled, Telegram will require the passcode whenever the application is locked or reopened.
The following steps explain how to enable the Local Passcode Lock in Telegram on Windows 11.
Step 1: Open the Telegram Desktop Application
The first step is to launch the Telegram Desktop application on your Windows 11 computer.
Click the Start Menu and type Telegram in the search bar. When the Telegram application appears in the search results, click it to open the program.
If you already have Telegram pinned to the taskbar or desktop, you can open it directly from there.
Make sure you are logged in to your Telegram account before continuing with the next steps.
Step 2: Open the Telegram Main Menu
After opening Telegram, you will see the main chat interface.
In the top left corner, locate the three horizontal lines icon, also called the hamburger menu. Click this icon to open the Telegram main menu.
This menu contains several options such as contacts, calls, saved messages, and application settings.
Step 3: Go to the Settings Section
From the menu that appears, click on Settings.
The Settings section allows you to manage various Telegram features, including notifications, chat settings, privacy options, and security controls.
Inside Settings, you will see different categories that control how Telegram works on your computer.
Step 4: Open Privacy and Security Settings
Within the Settings page, locate and click Privacy and Security.
The Privacy and Security section contains important features that protect your Telegram account and conversations. Some of the features you will find here include blocked users, two-step verification, active sessions, and local passcode lock.
Scroll down until you find the option labeled Local Passcode or Local Passcode Lock.
Step 5: Select the Local Passcode Lock Option
Click on Local Passcode Lock to open the passcode configuration page.
This page allows you to create a passcode that will be used to lock the Telegram desktop application.
Telegram uses this passcode locally on your computer, which means it does not affect your Telegram account on other devices.
Step 6: Create a New Passcode
You will now be prompted to create a four-digit passcode.
Enter the passcode you want to use. After entering it once, Telegram will ask you to confirm the passcode by typing it again.
Make sure you choose a passcode that is easy for you to remember but difficult for others to guess.
Once the passcode is confirmed, the Local Passcode Lock feature will be activated.
Step 7: Set the Auto Lock Timer
After enabling the passcode, Telegram allows you to configure the Auto Lock timer.
This setting determines how long Telegram waits before locking the application automatically when it is inactive.
You can choose different time intervals such as 1 minute, 5 minutes, 1 hour, or longer, depending on your preference.
Selecting a shorter auto lock time increases security, especially if you frequently leave your computer unattended.
Step 8: Lock Telegram Manually
After enabling the passcode, Telegram also provides a manual lock option.
You can lock the application immediately by clicking the lock icon that appears in the Telegram interface.
Once locked, the app will display a passcode screen, and you must enter your Local Passcode to access your chats.
How to Disable Local Passcode in Telegram for Windows 11?
If you no longer want Telegram to require a passcode when opening the application, you can disable the Local Passcode Lock at any time.
Disabling the feature removes the passcode protection, allowing Telegram to open directly without any additional security layer.
Follow these steps to disable the Local Passcode.
Step 1: Open Telegram Desktop
Launch the Telegram Desktop application on your Windows 11 computer. Make sure the application is unlocked and you have access to your chats.
If Telegram is currently locked, enter your Local Passcode first.
Step 2: Open the Main Menu
Click the three horizontal lines icon in the top left corner of the Telegram window.
This will open the main navigation menu, where you can access the application settings.
Step 3: Navigate to Settings
From the menu, select Settings.
The Settings page will open, showing all configuration options available in the Telegram desktop application.
Step 4: Go to Privacy and Security
Inside Settings, click Privacy and Security.
Scroll down until you find the Local Passcode Lock section.
Step 5: Disable the Local Passcode Lock
Click on Turn Off Passcode or Disable Passcode.
Telegram will ask you to enter your existing Local Passcode to confirm the action. After entering the correct passcode, the Local Passcode Lock feature will be disabled.
Telegram will now open normally without asking for a passcode.
FAQs
What is Local Passcode in Telegram?
The Local Passcode is a security feature in the Telegram desktop application that locks the app with a passcode. It prevents other people from accessing your chats without entering the correct code.
Is Local Passcode the same as Two-Step Verification?
No, these two features serve different purposes.
Local Passcode Lock protects the Telegram application on a specific device.
Two-step verification protects your Telegram account from unauthorized logins on any device.
Can I recover my Telegram Local Passcode?
If you forget the Local Passcode, the only solution is to log out of Telegram and log in again. After logging in, the passcode lock will be removed.
However, this may remove locally stored chats if they are not synced with the Telegram cloud.
Does Local Passcode work on all Telegram devices?
No. The Local Passcode Lock works only on the device where it is enabled.
If you enable it on Telegram Desktop for Windows 11, it will not automatically apply to Telegram on your phone or tablet.
Is Local Passcode necessary?
It is not mandatory, but it is highly recommended if you share your computer with others. It adds an extra security layer that protects your private conversations.
