# Why can't we perform DML operations on records in Trigger.new inside a before trigger?

**Topic:** Apex Trigger · **Difficulty:** Medium · **Asked at:** Cognizant, Infosys, EY · **Tags:** apex-trigger, trigger, dml

Read it on the site: https://www.forcechallenges.com/interview-questions/why-can-t-we-perform-dml-operations-on-records-in-trigger-new-inside-a-before-trigger

## Answer

You don't need to, and you shouldn't. In a before trigger, changes you make directly to fields of `Trigger.new` records are automatically saved as part of the original DML. An explicit `update Trigger.new` is redundant and errors or causes recursion: for before insert records have no Id yet so the update fails, and for before update it re-fires triggers, risking the depth limit and wasting DML statements.

```apex
for (Account a : Trigger.new) {
    a.Description = 'Updated'; // saved automatically
}
```

---
Source: ForceChallenges · last updated 2026-10-21
