by accident

idiomPart ofaccident

by accident — idiom

1. Happening without being planned or intended.

1.idiom
Definition

Happening without being planned or intended.

Example

I found the missing keys by accident under the sofa.

Did you break the vase by accident or on purpose?