The invention discloses a method for preparing a frame-type raft frame or base from composite material. The method comprises 1, raft frame or base structure disassembling, 2, composite material partitioned structure molding and demolding, 3, partitioned molded structure machining, 4, partitioned structure preassembling, 5, adhered surface roughening, 6, partitioned structure bonding, 7, binding transition zone filling and connection zone strengthening layer molding, and 8, opening processing and surface conditioning. The frame-type raft frame or base prepared through the method has the advantages of high dimensional precision, high strength, high rigidity, light weight, good fatigue resistance, good damping performances and obvious vibration damping effect.