Dahl was born in Wales to affluent Norwegian immigrant parents, and lived for most of his life in England. He served in the Royal Air Force (RAF) during the Second World War. He became a fighter pilot and subsequently an intelligence officer, rising to the rank of acting wing commander.