The invention belongs to the field of digital communication and digital storage, and relates to a rate-compatible coding method based on feedback packet Markov superposition coding. First, the information sequence with a length of kL  u Divide into L equal-length groups  u =(  u  (0) ,  u  (1) ,…,  u  (L‑1) ), the length of each packet is k; for time t=-1,-2,...,-m and i=1,2,...,N, the length is n  i sequence of ‑k  w  (i,t) The initialization is set as an all-zero sequence; at t=0,1,...,L‑1, the sequence with length k is sent to the system code C respectively  i [n  i ,k]’s checksum generator to encode and get a length of p  i =n  i ‑k checksum sequence combined with  w  (i,t‑1) ,  w  (i,t‑2) ,...,  w  (i,t‑m) Calculate codeword  c The tth subsequence of  c  (t) ;At time t=L, L+1,...,L+T-1, the all-zero sequence of length k  u  (t) =  0 respectively sent to the system code C  i [n  i ,k]’s checksum generator to encode and get a length of p  i =n  i check sequence for ‑k  s  (i,t) =  0 , and compute the subsequence  c  (t) , the subsequence  c  (t) The check part of is used as the code word  c The tth subsequence of .  The invention has the advantages of simple encoding, approachable channel capacity, unified encoding structure and low complexity.