Definitions for bagwigˈbægˌwɪg
Random House Webster's College Dictionary
an 18th-century wig with the back hair enclosed in a fabric bag.
Origin of bagwig:
a wig, in use in the 18th century, with the hair at the back of the head in a bag