PROBLEM TO BE SOLVED: To provide a biological information extraction device, a biological information extraction method, and a biological information program, capable of increasing the accuracy of extraction of three-dimensional linear patterns of a living body.SOLUTION: A biological information extraction device includes: an acquisition section for acquiring a biological image with three-dimensional linear patterns of a living body imaged therein an extraction section for extracting the linear patterns from the biological image acquired by the acquisition section a separation section for separating the linear patterns extracted by the extraction section into a plurality of groups according to the features of the linear patterns a correction section for connecting end points of the linear patterns separated by the separation section when prescribed conditions are satisfied and a composition section for composing the linear patterns corrected by the correction section.