Does Nondetection protect you from divination attack spells

dnd-5espells

The Spell Nondetection Says:

The target can't be targeted by any divination magic or perceived through magical scrying sensors.

My impression is that the intent of Nondetection is to keep something hidden. However there are some Divination school attack spells likeMind Spike.

Will Nondetection prevent Mind Spike (and other divination attack spells) from targeting a creature, even if it is visible and right in front of you?

Best Answer

The nondetection spell thwarts mind spike

The mind spike spell it a Divination spell and it has a target. Meanwhile, nondetection prevents you from being targeted by any Divination magic. If the rules wanted this to only apply to a certain subset of Divination spells, the rules would include text indicating that that is the case. Lacking such text, we know it applies to any and all Divination spells, completely indiscriminately.

Thus, nondetection means you cannot be targeted by mind spike, a Divination spell.