Whitlock recalled that the main session for "Beware of Darkness" was the first time he played piano on a studio recording. He said that Harrison asked him to give the part a gospel feeling, which Whitlock achieved by drawing on his upbringing in a churchgoing family in the American South. Whitlock also recalled that, due to his lack of experience on the instrument, he played the piano keys too hard and broke one of the thick-gauge bass strings; however, he believed that the replacement string gave the piano a new resonance that benefited the recording.