In painting, a capriccio (Italian pronunciation: [kaˈprittʃo], plural: capricci [kaˈprittʃi]; in older English works often anglicized as "caprice") is an architectural fantasy, placing together buildings, archaeological ruins and other architectural elements in fictional and often fantastical combinations. These paintings may also include staffage (figures). Capriccio falls under the more general term of landscape painting. This style of painting was introduced in the Renaissance and continued into the Baroque.
By the late 18th century the term had expanded to mean any image with an equivalent degree of fantasy, for example as used in the titles of print series by Giovanni Battista Tiepolo and Goya, both of whom focus on figures rather than architecture.
The term is also used for other types of art with an element of fantasy (as capriccio in music).