On 1 April 1935 he joined Polish Radio, where he worked as a pianist performing classical and jazz music. His compositions at this time included orchestral works, piano pieces, and also music for films, as well as roughly 50 songs, many of which became quite popular in Poland. At the time of the German invasion of Poland in September 1939, he was a celebrity and a featured soloist at the Polskie Radio, which was bombed on 23 September 1939, shortly after broadcasting the last Chopin recital played by Szpilman. The Nazi occupiers established the General Government, and created ghettos in many Polish cities, including Warsaw. Szpilman and his family did not yet need to find a new residence, as their apartment was already in the ghetto area.[3] He continued to work as a pianist in restaurants in the ghetto. Through his piano playing, he was able to earn barely enough to support the family of six (his father, his mother, his two sisters, one brother and himself).[4]

As vividly described in The Pianist memoir, first printed in 1946 as The Death of a City by publishing house Wiedza,[5][6] with biographer Jerzy Waldorff – later slightly expanded by his own son Andrzej,[7] under the current title – Władysław Szpilman and his family, along with all other Jews living in Warsaw, were forced to move into a "Jewish quarter" – the Warsaw Ghetto – on 31 October 1940. Once all the Jews were confined within the ghetto, a wall was constructed to separate them from the rest of the Nazi German-occupied city. Szpilman managed to find work as a musician to support his family, which included his mother, father, brother Henryk, and two sisters, Regina and Halina. He first worked at the Nowoczesna Cafe, where the patrons sometimes ignored his playing in order to conduct business, as he recalled in the memoir.[8]

Szpilman later played in a cafe on Sienna Street and after 1942 in the Sztuka Cafe on Leszno Street as well. In these last two cafes he performed chamber music with violinist Zygmunt Lederman, accompanied singer Wiera Gran in a piano duo with Andrzej Goldfeder[9] and played with other musicians as well.[10][11][12]

Everyone in his family was deported in 1942 to Treblinka, an extermination camp within German-occupied Poland roughly 80.5 km (50.0 mi) northeast of Warsaw. A member of the Jewish Police (Jerzy Lewinski), who recognized Szpilman from a concert, pulled him from a line of people—including his parents, brother, and two sisters—being loaded onto a train at the transport site (which, as in other ghettos, was called the Umschlagplatz). None of Szpilman's family members survived the war. Szpilman stayed in the ghetto as a labourer,[13] and helped smuggle in weapons for the coming Jewish resistance uprising. Szpilman remained in the Warsaw Ghetto until 13 Feb. 1943, shortly before it was abolished after the deportation of most of its inhabitants in April–May 1943.

Szpilman found places to hide in Warsaw and survived with the help of his friends from Polish Radio and fellow musicians such as Andrzej Bogucki and his wife Janina, Czesław Lewicki, and Helena Lewicka supported by Edmund Rudnicki, Witold Lutosławski, Eugenia Umińska, Piotr Perkowski, Irena Sendler. He avoided capture and death by the Germans and their collaborators several times. Since August 1944, Szpilman was hiding out in an abandoned building at al. Niepodległości 223 when he was found in November by a German officer, Captain Wilm Hosenfeld. To Szpilman's surprise, the officer did not arrest or kill him; after discovering that the emaciated Szpilman was a pianist, Hosenfeld asked him to play something. (A piano was on the ground floor.) Szpilman played Chopin's Nocturne in C-sharp minor. After that, the officer showed Szpilman a better place to hide and brought him bread and jam on numerous occasions. He also offered Szpilman one of his coats to keep warm in the freezing temperatures. Szpilman did not know the name of the German officer until 1951. Despite the efforts of Szpilman and the Poles to rescue Hosenfeld, he died in a Soviet prisoner of war camp in 1952.[2][14]

Władysław Szpilman started playing for Polish Radio in 1935 as their house pianist. In 1939, on September 23, Szpilman was in the middle of broadcasting when German fire was opened on the studio and he was forced to stop playing. This was the last live music broadcast that was heard until the war's end.[15] When Szpilman resumed his job at Polish Radio in 1945, he did so by carrying on where he left off six years before: poignantly, he opened the first transmission by once again playing Chopin's Nocturne in C sharp minor (Lento con gran espressione), the piece he was playing as the German bombs hit the studios of Polish Radio, interrupting its broadcast on 23 September 1939.

From 1945 to 1963 Szpilman was director of the Popular Music Department at Polish Radio. Szpilman performed at the same time as a concert pianist and chamber musician in Poland, as well as throughout Europe, Asia, and America. During this period he composed several symphonic works and about 500 other compositions that are still popular in Poland today. He also wrote music for radio plays and films and in 1961 created the International Song Contest in Sopot, Poland, which has been produced every summer for more than 50 years. Szpilman and Bronislav Gimpel, founded the Warsaw Piano Quintet in 1963 with which Szpilman performed more than 2000 concerts worldwide until 1986 in such places like Royal Festival Hall in London; Salle Pleyel and Salle Gaveau in Paris; Herkules Saal in Munich; as well as the Salzburger Festspiele, Brahmstage Baden-Baden, Musikhalle Hamburg a.o.

From his early Berlin years Szpilman never gave up the will to write music, even when living in the Warsaw Ghetto. His compositions include orchestral works, concertos, piano pieces, but also lots of music for radio plays and films, as well as around 500 songs. More than 100 of these are very well known as hits and evergreens in Poland. In the 1950s he wrote about 40 songs for children, for which he received an award from the Polish Composers Union in 1955.

His son Andrzej commented in 1998 that Szpilman's works did not reach a larger audience outside Poland, attributing this to the "division of Europe into two halves culturally as well as politically" after the war. His father "shaped the Polish popular music scene over several decades -- but the western frontier of Poland constituted a barrier" to music from the Eastern bloc countries. (Andrzej Szpilman's "Foreword" to the 1999 edition of "The Pianist," p. 8)[8]

Szpilman's compositions include the suite for piano "Life of the Machines" 1932, Violin Concerto 1933, "Waltzer in the Olden Style" 1937, film soundtracks: "Świt, dzień i noc Palestyny" (1934), Wrzos (1938) and Doctor Murek (1939), Concertino for Piano and Orchestra (1940), Paraphrase on Own Themes (1948) "Ouverture for Symphonic Orchestra" (1968) and many very popular songs in Poland. His works are now published in printed editions by Boosey & Hawkes · Bote & BockBoosey Music Publishers in New York, Berlin and London [16]

In 1961 he initiated and organized Sopot International Song Festival produced in Poland every Summer, now for more than 50 years. He founded the Polish Union of Authors of Popular Music.

Shortly after the war ended, Szpilman told his story of survival in wartorn Warsaw to a friend and popular Polish writer Jerzy Waldorff,[5][7] who composed and published the book, Śmierć Miasta (The Death of a City) in 1946 as Szpilman's semi-autobiography. The book was soon suppressed by Polish Stalinist authorities for many political reasons.[8] In this edition for example, the nationality of Wilm Hosenfeld was changed by the censorship to Austrian. As the East German dissident singer-songwriter Wolf Biermann observed in his epilogue for the 1999 English-language edition: "Directly after the war it was impossible to publish a book in Poland which presented a German officer as a brave and helpful man," and an Austrian hero would be "not quite so bad." Biermann added caustically, "In the years of the Cold War Austria and East Germany were linked by a common piece of hypocrisy: both pretended to have been forcibly occupied by Hitler's Germany."

Cover of the book "Smierc Miasta" AKA as "The Pianist" by Wladyslaw Szpilman published in January 1946 in Poland

In 1998, Szpilman's son Andrzej published new edition of his father's memoir, first in German as Das wunderbare Überleben (The Miraculous Survival) by the Ullstein Verlag, a major German publishing house, and then in English as The Pianist. In March 1999 Władysław Szpilman visited London for Jewish Book Week, where he met English readers to mark the publication of his bestselling book in England. It was later published in more than 35 languages, named Best book of the year by Los Angeles Times, Sunday Times, Boston Globe, The Guardian, The Economist, Library Journal, won Annual Jewish Quarterly Wingate Prize 2000, Best book of the year 2001 by magazine Lire – Paris and Elle – Paris in 2002. New Polish edition, Pianista : warszawskie wspomnienia 1939–1945 (Kraków: Znak, 2000) lasts as a number 1 on the bestseller lists in Poland (Rzeczypospolita) for 3 years – 2001–2003.

As it reached a much larger audience, Szpilman's memoir was widely praised and has entered the pantheon of Holocaust-related classics. Britain's Independent described it as "a compelling, harrowing masterpiece"; it is "one of the most powerful accounts ever written" of the era declared another leading British daily. Szpilman's description of the famed Warsaw teacher and writer Janusz Korczak has been described as "overwhelmingly powerful and poignant." Korczak declined to save himself from deportation to Treblinka, instead walking with the children of his orphanage to the deportation site and ultimately escorting them "into the next world," as Szpilman related:

"One day, around 5th August, when I had taken a brief rest from work and was walking down Gęsia Street, I happened to see Janusz Korczak and his orphans leaving the ghetto. The evacuation of the Jewish orphanage run by Janusz Korczak had been ordered for that morning.

The children were to have been taken away alone. He had the chance to save himself, and it was only with difficulty that he persuaded the Germans to take him too. He had spent long years of his life with children and now, on this last journey, he could not leave them alone. He wanted to ease things for them." (The Pianist, pp. 95-96)[17]

The 1999 English-language edition also includes excerpts (from 1942-'44) from Wilm Hosenfeld's diary. Biermann's epilogue gives further insight into Hosenfeld's deeds and his character. He aided several other would-be victims in Warsaw; Hosenfeld nonetheless died (in 1952) after seven years in Soviet captivity, despite the efforts of Szpilman to help him.

Although it concludes with his survival, Szpilman declined to conclude his memoir on a happy note. In the final paragraphs, he walks the streets of an abandoned and devastated Warsaw: "A stormy wind rattled the scrap-iron in the ruins, whistling and howling through the charred cavities of the windows. Twilight came on. Snow fell from the darkening, leaden sky." As one reviewer noted, "these final sentences distill the style of this astonishing and unforgettable book. Concise yet highly evocative; measured and somewhat detached, yet possessing a poeticism and a consistent spiritual tenor and strength."

In 2002, the Polish-French film-maker, Roman Polanski, directed a screen version of the book, also called The Pianist, but Szpilman died before the film was completed. The movie won in 2003 three Academy Awards – Oscars for best director; best actor, and best adapted screenplay, the British Academy of Film and Television ArtsBest Film Award, and the Palme d'Or at the Cannes Film Festival. Polanski escaped the Kraków Ghetto and survived the Holocaust, but his mother was killed by the German occupiers. Polanski's film closely follows the book's style and details. Adrien Brody accepting the Oscar Award for The Pianist said - ..."This film would not be possible without the blueprint provided by Wladyslaw Szpilman. This is a tribute to his survival"...

Szpilman's son, Andrzej Szpilman, compiled and released a CD with the most popular songs Szpilman had composed under the title Wendy Lands Sings the Songs of the Pianist (Universal Music). Other CDs with the works of Szpilman include Works for Piano and Orchestra by Władysław Szpilman with Ewa Kupiec (piano), John Axelrod (director), and the Berlin Radio Symphony Orchestra (2004) (Sony classical) and the Original recordings of The Pianist and Władysław Szpilman-Legendary recordings (Sony classical).

In November 1998, Szpilman was honored by the president of Poland with a Commander's Cross with Star of the Order of Polonia Restituta.

Władysław Szpilman died in Warsaw on 6 July 2000 at the age of 88.[18] He is buried at Powązki Military Cemetery. Ceremonies were held by the President of Poland on the centenary of his birth.[19]

On December 4, 2011, a commemorative plaque to Władysław Szpilman in Polish and English was unveiled at 223 Niepodległości Avenue in Warsaw in the presence of his wife, Halina (Grzecznarowski) Szpilman, son Andrzej and Wilm Hosenfeld's daughter Jorinde.[20][21] On 25 September 2011 Polish Radio’s Studio 1 has been named after Wladyslaw Szpilman.[22]

Uri Caine, an American classical and jazz pianist and composer created his own interpretations of Szpilman’s works in a variety of genres. The CD of the concert was released on 24 February 2014.[23]