"Ghost" represents a musical departure from Ferreira's earlier work, which explored more prominent elements of dance-pop.She collaborated with producers including Ariel Rechtshaid, Greg Kurstin, Jon Brion, Dev Hynes, and Blake Mills to achieve her desired sound.