The present invention provides a thin film device in which resin film does not easily separate. In a thin film device, a conductor pattern is formed on one of the main surfaces of a plate-shaped base, and the conductor pattern is covered with a resin film. This conductor pattern has a bottom face disposed on the main surface of the base, a top face that faces the bottom face and is distant from the main surface of the base, and two side faces that connect the bottom face and the top face. A depressed portion is formed in these side faces, and an insulation film extends into the depressed portion.