In SwiftUI, customizing the background color of a TextEditor is straightforward. Use the `.background()` modifier to set the desired color. For example, `TextEditor(text: $yourText).background(Color.gray.opacity(0.2))` applies a light gray background. This enhances readability and adds style to your application.