Can I edit a DS-160 after submitting it?
No. A submitted DS-160 is locked, so you file a new one and make sure the appointment record carries the new confirmation number.
No. Once a DS-160 is submitted, the State Department's system locks it and you cannot change any answer. If something is wrong, you complete a new DS-160, receive a new confirmation barcode and number, and make sure the consulate and the appointment system use the new one. The DS-160 FAQ describes the form as final once submitted.
What can be fixed in person
A minor error does not always require a new form. Some posts allow an applicant to correct a small mistake with the officer at the interview, such as a misspelled address, and the officer can note the correction. The officer decides, and any error that touches eligibility is a different matter. Correcting it verbally is better than letting a wrong answer stand, because the form is signed under penalty of perjury.
When a new form is the right step
A new DS-160 is warranted when the error is material: a wrong passport number, a wrong date of birth, the wrong visa category, an incorrect answer about a previous refusal or arrest, or a change of employer or marital status before the interview. The new form replaces the old for your appointment once the consulate has the new number.
Updating the appointment
A second DS-160 gets its own confirmation number. The appointment you have already booked is tied to the first. Most appointment sites let you change the number in the account, and some set a deadline before the interview, often 48 hours. If the site has no field for it, the consulate's help desk can update the record. Without the update, the officer sees a form that does not match the booking, and the interview can be delayed.
What goes wrong
Two forms in the system. Having two live applications for the same person confuses the record. Use one for the interview and say which.
Leaving a wrong answer uncorrected. A false answer on the DS-160, even by accident, can become a misrepresentation issue under INA 212(a)(6)(C)(i)) if it is material.
Paying again. A new DS-160 does not require a new fee. The fee is tied to the appointment, not the form.
Who this applies to
It applies to nonimmigrant visa applicants with a submitted DS-160. Immigrant visa applicants use the DS-260, which has its own correction process.
Where the error touches a prior refusal or an arrest, an immigration attorney can help decide how to correct it.