# Discord x FiveM Linking

Linking your Discord account to your FiveM account. This will allow you to receive permissions in game via discord roles and other special features.

### 🌐 Linked Accounts Page

Use the link below to check whether your Discord account is properly linked to your FiveM (CFX) account: [**https://portal.cfx.re/account/linked-accounts**](https://portal.cfx.re/account/linked-accounts)

<div align="left"><figure><img src="https://940966778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F772BYIFm6oRhvM4ZNYCR%2Fuploads%2FDchtz4qnCpPojp0cumqX%2Ffivem%20cfx.png?alt=media&#x26;token=0ed950d6-0da5-4824-9644-b5b10591a705" alt=""><figcaption></figcaption></figure> <figure><img src="https://940966778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F772BYIFm6oRhvM4ZNYCR%2Fuploads%2FufvRjvfKqKpYuc8LIGey%2Ffivem.png?alt=media&#x26;token=54487523-838f-483c-a10a-e4faf238b66f" alt=""><figcaption></figcaption></figure></div>

Please follow **all steps carefully** to avoid connection issues.

### 📌 Requirements

Before starting, make sure you have:

* A **Discord account**
* **Discord Desktop App** installed
* **FiveM** installed and updated
* Logged into the **correct Discord account**

### 🖥️ Step 1: Open Discord

1. Launch **Discord**
2. Make sure you are **logged in**
3. Keep Discord **open in the background**

> ⚠️ If Discord is closed or you’re logged into the wrong account, linking will fail.

### 🎮 Step 2: Launch FiveM

1. Open **FiveM**
2. Allow FiveM to fully load to the main menu

### 🔐 Step 3: Authorize Discord (First Time Only)

When you load up for the first time, Discord will ask to **authorize FiveM**

1. A Discord popup will appear
2. Click **Authorize**
3. Do **NOT** close Discord during this process

<div align="left"><figure><img src="https://940966778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F772BYIFm6oRhvM4ZNYCR%2Fuploads%2FwH3pVEIWcujdcn823Xai%2FDiscord%20-%20FiveM%20Authorize.png?alt=media&#x26;token=0ac543f8-498a-4e6d-a4c9-aa073477d39c" alt="" width="395"><figcaption></figcaption></figure></div>

### 🔁 Step 4: Restart FiveM (IMPORTANT)

After authorizing Discord:

1. **Close FiveM completely**
2. Reopen FiveM
3. Connect to the server again

> 🔁 This step ensures your Discord ID is fully synced.

### ✅ Step 5: Join the Server

Once linked successfully:

* Your Discord roles will sync automatically

🎉 You’re all set!

### ❌ Troubleshooting (If It Still Isn’t Working)

If everything appears to be set up correctly but Discord still isn’t linking to FiveM, follow these steps **in order**.

#### 🔓 Deauthorize FiveM from Discord

1. Open the **Discord Desktop App**
2. Go to **User Settings**
3. Navigate to **Authorized Apps**
4. Find **FiveM**
5. Click **Deauthorize**

<div align="left"><figure><img src="https://940966778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F772BYIFm6oRhvM4ZNYCR%2Fuploads%2FlFFZSqRqOovhuMzQAVXa%2FDiscord%20-%20FiveM%20Deauthorize.png?alt=media&#x26;token=102573e3-ba91-4c1a-bdc5-1530f50af5c1" alt="" width="563"><figcaption></figcaption></figure></div>

> ⚠️ After this step, **FiveM should NOT appear** in your Authorized Apps list.

Now go back to [**🔐 Step 3: Authorize Discord (First Time Only)**](https://app.gitbook.com/o/yCkXBIB5Jh7Jbjb97SjH/s/772BYIFm6oRhvM4ZNYCR/~/edit/~/changes/34/discord-x-fivem-linking#step-3-authorize-discord-first-time-only)

#### 🧨 Full Reinstall (Last Resort)

If none of the above steps work:

1. Uninstall **Discord**
2. Uninstall **FiveM**
3. Uninstall **GTA V**
4. Restart your PC
5. Reinstall in this order:
   1. GTA V
   2. Discord
   3. FiveM

> ⚠️ This is rarely required, but it **does resolve the issue for almost everyone** when all else fails.
