# Cursor IDE showing saved files as unsaved

**URL:** <https://forum.cursor.com/t/cursor-ide-showing-saved-files-as-unsaved/149528>\
**Category:** Bug Reports\
**Tags:** installation\
**Created:** [January 22, 2026, 3:21am UTC](https://forum.cursor.com/t/cursor-ide-showing-saved-files-as-unsaved/149528 "2026-01-22T03:21:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandilya\_Machiraju](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Sandilya\_Machiraju](https://forum.cursor.com/u/Sandilya_Machiraju)\
**Post date:** [January 22, 2026, 3:21am UTC](https://forum.cursor.com/t/cursor-ide-showing-saved-files-as-unsaved/149528/1 "2026-01-22T03:21:17Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Cursor IDE is incorrectly marking previously saved files (only the ones that were actively open) as unsaved after I force-close Cursor and reopen it, or after Cursor auto-restarts during an update.

In both cases, the files were already saved and committed, but Cursor shows them as unsaved and then flags them as uncommitted/modified in Git. When I save them again, it updates the already-committed files and still treats them as changed.

### Steps to Reproduce

Open Cursor IDE.

Open a few project files (ensure they are already saved and committed to Git).

Make sure these files remain actively open in the editor tabs.

Scenario A (Force close):

Force close Cursor IDE (End Task / kill process).

Reopen Cursor IDE.

Scenario B (Auto restart after update):

Update Cursor IDE to the latest version.

Allow Cursor to auto-restart after the update.

Observe that the previously opened files are now marked as unsaved.

Click Save on those files.

Check Git source control status.

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41 (user setup)  
VSCode Version: 1.105.1  
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30  
Date: 2026-01-16T19:14:00.150Z  
Electron: 37.7.0  
Chromium: 138.0.7204.251  
Node.js: 22.20.0  
V8: 13.8.258.32-electron.0  
OS: Windows\_NT x64 10.0.26100

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 22, 2026, 4:32am UTC](https://forum.cursor.com/t/cursor-ide-showing-saved-files-as-unsaved/149528/3 "2026-01-22T04:32:59Z")

</div>

Hey, thanks for the report. This is a known issue: files that were previously touched by Agent or Composer get marked as changed on every IDE start. It’s usually an EOF or whitespace change, not real code.

Related reports:

- [Cursor creates phantom unsaved changes on every restart (requires discarding multiple files)](https://forum.cursor.com/t/cursor-creates-phantom-unsaved-changes-on-every-restart-requires-discarding-multiple-files/147487)
- [The cursor adds blank lines](https://forum.cursor.com/t/the-cursor-adds-blank-lines/143373)

This should’ve been fixed in 2.3.x, but there are reports that it came back in later 2.3.x builds.

Temporary workaround:

1. Open Source Control
2. Open each “changed” file
3. If you see the “Keep” button (Agent Review overlay), click it
4. After that, the file should stop showing up after restart

Need a bit more info:

1. You’re on 2.3.41. Does it still happen on the latest version? Check Help \> Check for Updates
2. Can you share a `git diff` for one of the “changed” files? We want to confirm if it’s whitespace or EOF vs real code changes
3. Are you using Agent or Composer modes?

Let me know what you find. If this is a regression on the latest version, I’ll pass it to the team.

---

<div class="post-metadata">

**Author:** ![Sandilya\_Machiraju](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Sandilya\_Machiraju](https://forum.cursor.com/u/Sandilya_Machiraju)\
**Post date:** [January 22, 2026, 5:16am UTC](https://forum.cursor.com/t/cursor-ide-showing-saved-files-as-unsaved/149528/4 "2026-01-22T05:16:56Z")

</div>

1. Yes. It happens on latest version, 2.3.41 and there are no updates.
2. ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/4/b44999a1593f528f935a7cb3e9e8a79562df2be3.png)
3. I am using Agent mode.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 13, 2026, 5:16am UTC](https://forum.cursor.com/t/cursor-ide-showing-saved-files-as-unsaved/149528/5 "2026-02-13T05:16:56Z")

</div>

Closed on February 13, 2026, 5:16am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
