1828, American English, from cup (n.) + cake (n.), probably from the cups they are baked in, but possibly from the small measures of ingredients used to make them. Meaning "attractive young woman" is recorded from 1930s, American English.