A component mounting device that performs applying of a viscous fluid to a board and mounting of a held component to a board, the component mounting device comprising: a storing means that stores at least one head of multiple types of heads that include a mounting head with a component holding tool that holds and releases a component, and a dispensing head with a dispensing tool that dispenses viscous fluid from a dispensing outlet; a head holding means that exchangeably holds the heads; a head moving means (112, 116) that moves the head holding means; a head exchange control means that exchanges one of the mounting head and the dispensing head being held on the head holding means for the other of the mounting head and the dispensing head by controlling the head moving means and exchanging the head being held on the head holding means for the head stored in the head storage means; an imaging means that, in a case in which the head holding means is holding the mounting head, images the component holding tool of the mounting head from the side and acquires component holding tool image data, and in a case in which the head holding means is holding the dispensing head, images the dispensing tool of the dispensing head from the side and acquires dispensing image data; and an inspection means that performs component related inspection of at least one of the component holding tool and the component held by the component holding tool based on the component holding tool image data, and that performs dispensing related inspection of at least one of the dispensing tool and the viscous fluid dispensed from the dispensing outlet of the dispensing tool based on the dispensing image data. a storing means that stores at least one head of multiple types of heads that include a mounting head with a component holding tool that holds and releases a component, and a dispensing head with a dispensing tool that dispenses viscous fluid from a dispensing outlet; a head holding means that exchangeably holds the heads; a head moving means (112, 116) that moves the head holding means; a head exchange control means that exchanges one of the mounting head and the dispensing head being held on the head holding means for the other of the mounting head and the dispensing head by controlling the head moving means and exchanging the head being held on the head holding means for the head stored in the head storage means; an imaging means that, in a case in which the head holding means is holding the mounting head, images the component holding tool of the mounting head from the side and acquires component holding tool image data, and in a case in which the head holding means is holding the dispensing head, images the dispensing tool of the dispensing head from the side and acquires dispensing image data; and an inspection means that performs component related inspection of at least one of the component holding tool and the component held by the component holding tool based on the component holding tool image data, and that performs dispensing related inspection of at least one of the dispensing tool and the viscous fluid dispensed from the dispensing outlet of the dispensing tool based on the dispensing image data.