late 15c., "well-mannered, courteous, having manners befitting a court," from court (n.) + -ly (1). Compare courteous. Meaning "pertaining to the court" is from late 15c. The elegant, polite, refined courtly love "highly conventionalized medieval chivalric love" (amour courtois) is attested from 1821. Related: Courtliness.