What does Knock on Wood Mean?

Knock on wood, is an expression a person uses when they are wishing themselves good luck, and protection from jinxing. So you might say I’ve never been in an accident, knock on wood (and then physically knock on wood), so you don’t jinx yourself.