An inbred sunflower line, designated PH1023B, the plants, plant parts and seeds of inbred sunflower line PH1023B are provided. A sunflower plant, such as an inbred or hybrid, can be produced by crossing the inbred sunflower line PH1023B with itself or with another sunflower plant. Inbred and hybrid sunflower seeds and plants produced by crossing the inbred line PH1023B with another sunflower line or plants are provided. Methods for producing a sunflower plant such as inbred line PH1023B containing in its genetic material one or more transgenes and to the transgenic sunflower plants produced by that method are also disclosed. Inbred sunflower lines derived from the inbred sunflower line PH1023B, methods for producing other inbred sunflower lines derived from inbred sunflower line PH1023B, and the inbred sunflower lines derived by the use of those methods are further described.