The present invention discloses an antenna device and an electronic device. The antenna device comprises a metal housing with a slit structure, wherein the metal housing is divided into an antenna arm portion and a main area portion; the antenna arm portion comprises a first fracture and a second fracture, and the antenna arm portion is at least divided by the first fracture and the second fracture into: a first antenna arm located between the first fracture and the second fracture, the first antenna arm being separating from the main area portion, a second antenna arm located at the first side of the first antenna arm, the first end and the second end of the second antenna arm being connected with the main area portion, a first matching circuit, one end of the first matching circuit being connected with the first antenna arm through a first metal connection piece, the other end of the first matching circuit being earthed at least through a first feed source; and a second matching circuit, one end of the second matching circuit being connected with the second antenna arm through a second metal connection piece, and the other end thereof being earthed through a second feed source. The antenna device and the electronic device is low in contour and high isolation, satisfy carrier aggregation, and facilitate improving antenna radiation efficiency and partial space multi-antenna design.