How to Use Copilot Code on Windows to Build Your Own Apps

How to use Copilot Code in the Copilot app for Windows: who can get the preview, how to build your first app, and which safety settings to check first.

Add Being Tricky on Google:

Preferred Source (opens in new tab)

Cover image: "Copilot Code" (AI guide)

Applies to15 minutesMicrosoft Copilot app for Windows 157.0.4341.60+Windows Insiders in the US and CanadaMicrosoft 365 Premium or Pro (personal accounts)

TL;DR

  • Copilot Code opened to more Windows Insiders on December 4, 2026, in the US and Canada only
  • You need a personal Microsoft account with Microsoft 365 Premium or Pro and Copilot app 157.0.4341.60 or higher
  • Select Code in the Copilot app's left side panel; the first launch downloads about 300 MB once
  • It asks before it reaches outside your project folder, deletes files, downloads or uses GitHub
  • Keep the sandbox on and leave Run tools without asking (Always allow) off

To use Copilot Code, update the Copilot app from the Microsoft Store to version 157.0.4341.60 or higher, sign in with a personal Microsoft account that has a Microsoft 365 Premium or Pro subscription, and select Code in the tab switcher in the left side panel. Then describe the app, dashboard, website or script you want in plain English. Right now it’s a preview for Windows Insiders in the United States and Canada only, and it isn’t free: it’s included with Premium and Pro and uses your AI usage allowance.

Microsoft announced on December 4, 2026 that Copilot Code (Preview) is now open to more Windows Insiders. It builds small tools on your PC from a description, shows a live preview as it works, and asks before it touches files outside your project. Below is how to use Copilot Code, who can get it today, the safety settings worth checking first, and what to do if the Code tab doesn’t show up.

Steps checked against Microsoft’s Windows Insider Blog post and the Get started with Copilot Code support page on December 6, 2026 (Copilot app for Windows 157.0.4341.60, preview for personal accounts).

Can you get Copilot Code yet?

Only if you meet all five requirements below. Miss one and the Code tab won’t appear.

RequirementWhat Microsoft asks for
CountryUnited States or Canada
ProgramWindows Insider Program member
AccountA personal Microsoft account (work and school accounts get it through the Frontier program instead)
SubscriptionMicrosoft 365 Premium or Pro
AppMicrosoft Copilot app for Windows, version 157.0.4341.60 or higher

Microsoft’s support page says Copilot Code will roll out to more Copilot app users on Windows over the coming weeks, so Insider membership may not stay a requirement for long.

How to join the Windows Insider Program

Register on the Windows Insider website with your Microsoft account, then enroll your PC from Settings. You need to be an administrator on the PC and running a licensed copy of Windows 11.

  1. Register for the program on Microsoft’s site with the same Microsoft account you use for Microsoft 365, and accept the Program Agreement.
  2. Save your work, because the PC restarts during setup.
  3. Go to Settings > Windows Update > Windows Insider Program and select Get started. If asked, turn on Send optional diagnostic data first.
  4. Link the Microsoft account you registered with, select Continue, choose a channel, accept the terms, and restart.

Insider builds are preview software. Microsoft notes that the first upgrade from a retail build sometimes fails and works on a second try. Back up first, and see our DISM and SFC repair guide if Windows 11 acts up afterward.

How to use Copilot Code: build your first project

Open the Copilot app, select Code, and describe the result you want and who it’s for. You don’t need to know how to code.

  1. Open the Microsoft Store, update the Microsoft Copilot app, and check that it’s on version 157.0.4341.60 or higher.
  2. Open the Copilot app and sign in with your personal Microsoft account that has Microsoft 365 Premium or Pro.
  3. Select Code in the tab switcher in the left side panel. The first time, the app downloads about 300 MB of files it needs. This happens only once.
  4. Type what you want in the task box. Microsoft’s own examples: “Create a reading tracker with an Add book button and a list of books” or “Build a dashboard that tracks weekly spending by category.”
  5. To give it your data, select the plus sign (+) or drag in a CSV, spreadsheet, PDF, document, image or presentation. You can also open an existing folder on your PC.
  6. Send the request. If Copilot Code asks a few questions first, answer them or go with the suggested option.
  7. Watch the progress steps and the live preview on the canvas. Switch to the code view if you want to see or edit the files.
Microsoft Support page 'Get started with Copilot Code for personal accounts (Preview)' on support.microsoft.com
Screenshot: Microsoft Support, Get started with Copilot Code, December 6, 2026

To change the project, keep the conversation going with one focused change at a time, such as “add a total at the bottom.” If a change goes wrong, ask Copilot Code to return to an earlier version. Projects are saved on your PC with their conversations, so you can reopen them from Recents or export the files.

Interactive, Plan, Automatic or Always allow?

Leave it on Interactive while you learn, and leave Always allow off. Automatic and Always allow sound alike but do different things:

SettingWhat it doesStill asks before risky actions?
Interactive (default)Works step by step while you give directionYes
PlanShows its plan for your review before it changes anythingYes
AutomaticRuns a well-defined task with fewer check-insYes, your approval settings still apply
Always allow (“Run tools without asking”)Skips approval prompts in every session until you turn it offNo

You can also pick the AI model. The model picker in the task box offers models from Anthropic and OpenAI, or Auto, which lets Copilot Code choose. Microsoft says the models on offer can change during the preview.

Check these safety settings first

The defaults are sensible: Copilot Code can read and write files in the project folder you choose, but it asks before it reads or changes files elsewhere, deletes files, downloads anything or uses your GitHub account. Here’s where the controls live:

  • Sandbox: on by default for local projects. It limits which files and network sites Copilot Code can reach, and approving an action doesn’t override it. Toggle it at Settings > Code > PC settings. Keep it on.
  • Always allow: in Copilot Code, go to Settings and more > Code > Manage PC Settings and make sure Run tools without asking is off.
  • Undo an approval: “Allow for session” and “Allow for project” stick until you delete that session or project. Deleting it revokes the permission.
  • Stop button: you can pause, cancel a task, or stop an action before it finishes at any time.

Two more rules from Microsoft’s security guidance: don’t put passwords, keys or other sensitive data in prompts or project files, and test what it builds before you rely on it or share it. Files and web pages it reads can hide instructions meant to trick it, so cancel the task if it asks for an approval you didn’t expect. If you need a strong password for anything it builds, make one yourself with our password-from-words guide.

Code tab missing? Try these fixes

What you seeMost likely causeWhat to do
No Code tab at allOld app versionUpdate Microsoft Copilot in the Microsoft Store to 157.0.4341.60 or higher
No Code tab after updatingNot an Insider, or outside the US and CanadaJoin the Windows Insider Program, or wait for the wider rollout Microsoft says is coming
No Code tab on a work laptopWork or school accountCopilot Code for commercial customers comes through the Frontier program, so ask your IT admin
Signed in but no accessPlan doesn’t include itUse the account with Microsoft 365 Premium or Pro
A download or step is blockedThe sandbox blocked itChoose a different project folder, drop that step, or ask Copilot Code for another way. Check the sandbox network setting only for sites you trust

Connecting GitHub is optional. If you do connect it, Copilot Code can read your repositories and, with your approval, push changes. Review connected accounts now and then, the same way you’d check which apps can access your Google account.

Frequently asked questions

Is Copilot Code free?

No. It’s included with Microsoft 365 Premium and Pro and uses your AI usage allowance. You need one of those plans on a personal Microsoft account.

Is Copilot Code the same as GitHub Copilot?

No. Copilot Code is a tab in the Microsoft Copilot app for Windows that builds apps, websites and scripts from plain-language requests. GitHub is optional; you can connect it to work on an existing project.

Do my Copilot chats carry over into Code?

Not yet. Microsoft says Code conversations don’t carry over from Chat or Cowork during the preview.

Where are my Copilot Code projects saved?

On your PC, in the project folder, along with their conversations. Reopen them from Recents, or export the files. Delete a session or project if you don’t want its data stored.

How do I send feedback about Copilot Code?

Press Windows key + F to open Feedback Hub and file it under Apps > Copilot on Windows.

Sources

  1. Windows Insider Blog: Copilot Code (Preview) now available to Windows Insiders (Dec 4, 2026) (opens in new tab)blogs.windows.com
  2. Microsoft Support: Get started with Copilot Code for personal accounts (opens in new tab)support.microsoft.com
  3. Microsoft Support: Run projects and review actions in Copilot Code (opens in new tab)support.microsoft.com
  4. Microsoft Support: Build and refine projects with Copilot Code (opens in new tab)support.microsoft.com
  5. Microsoft Support: Copilot Code security considerations (opens in new tab)support.microsoft.com
  6. Microsoft Learn: Get started with the Windows Insider Program (opens in new tab)learn.microsoft.com

Want our new guides first? Add us as a preferred source and follow us in Discover, and Google will show you more of our posts.

Preferred Source (opens in new tab)

Was this guide helpful?

Written by

Founder & editor

I'm Prince Ramgarhia, founder and editor of Being Tricky. I've been writing tech how-tos and fixes since 2012, covering Android and Samsung Galaxy phones, Windows 11, WordPress and blogging, and security and AI tools. Every guide is checked against official documentation from the company that makes the device or app, and links the pages it uses.

  • Android & Samsung Galaxy
  • Windows 11
  • WordPress & blogging
  • Security & AI tools

Join the conversation

Your email stays private. Be kind and stay on topic. Comments are moderated.