1520s, "folly, foolish behavior," from nice (q.v.) + -ness. Meaning "exactness" is from 1670s; that of "pleasantness" is from 1809.
Nicaragua
Nice
nice
nicely
Nicene
niceness
nicety
niche
Nicholas
Nick
nick