The invention relates to the technical field of earthquake-proof buildings, in particular to an earthquake-proof building and shock absorption and insulation structure. The earthquake-proof building and shock absorption and insulation structure comprises a base pit, a
superstructure, a vertical shock
insulation layer, a horizontal shock
insulation layer and a flexible filling part, wherein the base pit is formed in the ground, the horizontal shock
insulation layer comprises a base plate and shock insulation supports fixedly arranged between the base pit and the base plate, the vertical shock insulation layer comprises a structural plate and inserting pillars, the
superstructure is arranged on one side, away from the base plate, of the structural plate in the vertical direction, inserting holes are formed in the base plate, the inserting pillars penetrate through the inserting holes, the flexible filling part comprises a
water storage groove and water, vertical surrounding boards are fixedly arranged on the bottom surface of the base pit, the
water storage groove is a gap formed between outer side walls of the surrounding boards and the side walls of the base pit and is filled withwater, a plurality of bearing piles are fixedly connected to the lower side of the structural plates, the bearing piles are inserted into the
water storage groove, and a drainage
pipe is communicatedin the side walls of the water storage groove. The function of improving the vertical shock insulation capability of the shock insulation structure is realized.