The invention discloses an automatic edge covering device and method for a PCB (printed circuit board). The device comprises a frame, a conveying wheel variable frequency motor, a first conveying wheel set, a second conveying wheel set, a middle lower rubber pressing wheel, a middle upper rubber pressing wheel, a rubber coating device, two rubber pressing cylinders, a rubber cutting sensor, a rubber cutting blade and a rubber cutting cylinder, the middle upper rubber pressing wheel is positioned above the middle lower rubber pressing wheel, the rubber coating device is used for covering edges of the PCB, the two rubber pressing cylinders are used for controlling the middle upper rubber pressing wheel to move up and down, the rubber cutting sensor and the rubber cutting blade are mounted on the frame and arranged at the tail end of the second conveying wheel set, and the rubber cutting cylinder is used for controlling the rubber cutting blade to automatically cut rubber. The conveying wheel variable frequency motor is respectively connected with the first conveying wheel set, the second conveying wheel set and the middle lower rubber pressing wheel in a driving manner, and the PCB with the edges covered is conveyed to a position below the rubber cutting blade sequentially by the first conveying wheel set, the middle lower rubber pressing wheel and the second conveying wheel set. The device has the advantages of convenience in operation, simple process, high safety factor, low labor intensity, low production cost, high automation degree and the like.