---
title: Passcode Types
description: Passcode types for managing 33 Lock smart locks in the TTLock app.
---

[Skip to content](https://help.33lock.com/passcode-types#main-content)

[![](https://help.33lock.com/hs-fs/hubfs/v%20(Dark%20BG%20variant)%20Logo%20(5)-1.png?width=160&height=80&name=v%20(Dark%20BG%20variant)%20Logo%20(5)-1.png)](https://www.33lock.com)

- [PRODUCTS](https://www.33lock.com/products)
- [PARTNERS](https://www.33lock.com/partners)
- [ABOUT US](https://www.33lock.com/about)

Open main navigation

Close main navigation

- [PRODUCTS](https://www.33lock.com/products)
- [PARTNERS](https://www.33lock.com/partners)
- [ABOUT US](https://www.33lock.com/about)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [33 Lock Help Documentation](https://help.33lock.com/?hsLang=en-us)
2. [Managing Devices](https://help.33lock.com/managing-devices?hsLang=en-us)
3. [Managing Lock Access](https://help.33lock.com/managing-devices?hsLang=en-us#managing-lock-access)

# Passcode Types

### Overview

Passcodes (PIN codes) offer a flexible, key-free method to access a building. This article explains the different types of passcodes available for our locks.

Passcodes are often the most adaptable credential, suitable for a wide range of applications. They do not require any physical medium—such as a card or mobile device—making them simple to issue, share, and manage.

This requires a [registered TTLock account](https://help.33lock.com/ttlock-account-registration?hsLang=en-us)

- Download the TTLock application on [Android](https://play.google.com/store/apps/details?id=com.tongtongsuo.app&hl=en_CA) or [iOS](https://apps.apple.com/us/app/ttlock/id1033046018) devices
- Access the TTLock Web System on desktop [here](https://lock2.ttlock.com/)

#### Passcode Types

**1. Online codes.**

Includes: Custom

- Requires either a [connection to a gateway](https://help.33lock.com/understanding-gateway-settings?hsLang=en-us) or a direct Bluetooth connection to the lock.
- They can be added, modified, or deleted in real-time remotely, or directly at the lock.
- They can be customized to any 4 to 9 digit code.

##### **Custom**

- Choose whether this code should work permanently or set a specific start and end time
- Set specific start and end times (accurate to the hour)

**2. Offline codes.** Includes: **Timed, One-Time, Permanent, Recurring, Erase**

- These are generated algorithmically and don't require a Bluetooth connection to the lock or a network gateway.
- Although they can be generated without a connection, they do require a Bluetooth connection to the lock to be modified or deleted.
- They must be used within 24 hours (except for one-time codes, which must be used within 6 hours) or they will be suspended for security reasons.
- Offline codes are randomly generated and range from 6 to 9 digits in length.

##### **Timed**

- Set specific start and end times (accurate to the hour)

##### **One-time**

- The code is valid for a single use only and becomes inactive afterwards

##### **Permanent**

- The code remains valid and can be used indefinitely until it's deleted

##### **Recurring**

- Choose a recurring cycle for the code: daily, weekend, workday, or a specific day of the week
- Set specific start and end times (accurate to the hour)
- The code is only valid during the specified cycle

##### **Erase**

- Generate this code to remove all codes from a lock
- Once entered into the lock, all existing codes will be permanently erased

Review this [article](https://help.33lock.com/creating-passcodes?hsLang=en-us) to learn how to add passcodes.

- [Getting Started](https://help.33lock.com/getting-started?hsLang=en-us#main-content)

    - [Understanding the Basics](https://help.33lock.com/getting-started?hsLang=en-us#understanding-the-basics)
    - [Initial Setup](https://help.33lock.com/getting-started?hsLang=en-us#initial-setup)
- [Before You Buy](https://help.33lock.com/before-you-buy?hsLang=en-us#main-content)

    - [Door Templates & Compatibility Guides](https://help.33lock.com/before-you-buy?hsLang=en-us#door-templates-compatibility-guides)
    - [IntelliMortise Cover Plates](https://help.33lock.com/before-you-buy?hsLang=en-us#intellimortise-cover-plates)
- [Installation](https://help.33lock.com/installation?hsLang=en-us#main-content)

    - [Installation Manual](https://help.33lock.com/installation?hsLang=en-us#installation-manual)
    - [Post-Installation Checklist](https://help.33lock.com/installation?hsLang=en-us#post-installation-checklist)
- [Managing Devices](https://help.33lock.com/managing-devices?hsLang=en-us#main-content)

    - [Connecting your Devices](https://help.33lock.com/managing-devices?hsLang=en-us#connecting-your-devices)
    - [Lock Features & Settings](https://help.33lock.com/managing-devices?hsLang=en-us#lock-features-settings)
    - [Managing Lock Access](https://help.33lock.com/managing-devices?hsLang=en-us#managing-lock-access)
    - [Lock Adminstration](https://help.33lock.com/managing-devices?hsLang=en-us#lock-adminstration)
- [Integrations](https://help.33lock.com/integrations?hsLang=en-us)
- [FAQs](https://help.33lock.com/faqs?hsLang=en-us#main-content)

    - [General Lock Questions](https://help.33lock.com/faqs?hsLang=en-us#general-lock-questions)
    - [Installation & Compatibility Questions](https://help.33lock.com/faqs?hsLang=en-us#installation-compatibility-questions)
    - [Gateway Questions](https://help.33lock.com/faqs?hsLang=en-us#gateway-questions)
- [Troubleshooting Hub](https://help.33lock.com/troubleshooting-hub?hsLang=en-us#main-content)

    - [Hardware Troubleshooting](https://help.33lock.com/troubleshooting-hub?hsLang=en-us#hardware-troubleshooting)
- [Warranty & Returns](https://help.33lock.com/warranty-returns?hsLang=en-us)

- [PRODUCTS](https://www.33lock.com/products)
- [PARTNERS](https://www.33lock.com/partners)
- [ABOUT US](https://www.33lock.com/about)

[![](https://help.33lock.com/hs-fs/hubfs/v%20(Dark%20BG%20variant)%20Logo%20(5)-1.png?width=160&height=80&name=v%20(Dark%20BG%20variant)%20Logo%20(5)-1.png)](http://www.33lock.com)

<https://www.linkedin.com/company/33-lock/> [mailto:support@33lock.com](mailto:support@33lock.com)

Copyright © 2026, 33lock.com