An independent clause, also called a main clause, can stand alone as a grammatical sentence. It can also combine with other clauses in the same sentence.

How to recognize it
Ask whether the clause could stand as a statement, question, or command by itself. A command can have an understood subject.
Examples explained
Independent clause examples
The lights went out. The subject is the lights, and the predicate is went out.
Did the lights go out? In this question, the helping verb did comes before the subject.
Turn on the lights. In this command, the subject you is understood.
How independent clauses combine
In The lights went out, but the backup generator kicked in, either highlighted clause could stand alone. The comma and but join them in a compound sentence.
In When the lights went out, the backup generator kicked in, the second clause can stand alone. The first is a dependent clause that tells when the generator kicked in.
See sentence structure to compare all four clause patterns.
Common mix-up
A dependent clause may contain a subject and verb but still need a main clause: because the lights went out leaves the explanation unfinished.
Quick check
Which can stand alone: “When the lights went out” or “The generator started”?
Reveal the answer and explanation
The generator started is independent. The opening when makes the other clause depend on a main clause.